Added more logging info

This commit is contained in:
Manuel Cortez 2020-02-03 06:48:51 -06:00
parent 08d3201cee
commit 1622f864fc

View File

@ -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")