Finish implementation and tests for the cheat system #3

Closed
m wants to merge 67 commits from cheat-refactor into master
1 changed files with 4 additions and 1 deletions
Showing only changes of commit 71389f7ff9 - Show all commits

View File

@ -49,7 +49,10 @@ class Agora(object):
"""
Calls hooks to parse dashboard info and get all contact messages.
"""
dash = self.agora.dashboard_seller()
try:
dash = self.agora.dashboard_seller()
except ReadTimeout:
return False
dash_tmp = {}
if "data" not in dash["response"].keys():
self.log.error("Data not in dashboard response: {content}", content=dash)