Commit 1622f864 authored by Manuel Cortez's avatar Manuel Cortez

Added more logging info

parent 08d3201c
Pipeline #713 passed with stage
in 4 minutes and 8 seconds
......@@ -173,7 +173,8 @@ class Controller(object):
def create_unread_messages(self):
try:
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:
if ex.code == 6:
log.exception("Something went wrong when getting messages. Waiting a second to retry")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment