Added more logging info
This commit is contained in:
parent
08d3201cee
commit
1622f864fc
@ -173,7 +173,8 @@ class Controller(object):
|
|||||||
def create_unread_messages(self):
|
def create_unread_messages(self):
|
||||||
try:
|
try:
|
||||||
log.debug("Creating conversation buffers...")
|
log.debug("Creating conversation buffers...")
|
||||||
msgs = self.session.vk.client.messages.getConversations(count=200)
|
msgs = self.session.vk.client.messages.getConversations(count=200, filter="all")
|
||||||
|
log.debug(msgs.get("count"))
|
||||||
except VkApiError as ex:
|
except VkApiError as ex:
|
||||||
if ex.code == 6:
|
if ex.code == 6:
|
||||||
log.exception("Something went wrong when getting messages. Waiting a second to retry")
|
log.exception("Something went wrong when getting messages. Waiting a second to retry")
|
||||||
|
Loading…
Reference in New Issue
Block a user