Libraries refactor and add some sinks #4
|
@ -49,7 +49,10 @@ class Agora(object):
|
||||||
"""
|
"""
|
||||||
Calls hooks to parse dashboard info and get all contact messages.
|
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 = {}
|
dash_tmp = {}
|
||||||
if "data" not in dash["response"].keys():
|
if "data" not in dash["response"].keys():
|
||||||
self.log.error("Data not in dashboard response: {content}", content=dash)
|
self.log.error("Data not in dashboard response: {content}", content=dash)
|
||||||
|
|
Loading…
Reference in New Issue