mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Hopefully, fix LaterGuage error handling
This commit is contained in:
parent
5dbf305444
commit
694968fa81
@ -60,10 +60,13 @@ class LaterGauge(object):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
calls = self.caller()
|
calls = self.caller()
|
||||||
except Exception as e:
|
except Exception:
|
||||||
print(e)
|
logger.exception(
|
||||||
logger.err()
|
"Exception running callback for LaterGuage(%s)",
|
||||||
|
self.name,
|
||||||
|
)
|
||||||
yield g
|
yield g
|
||||||
|
return
|
||||||
|
|
||||||
if isinstance(calls, dict):
|
if isinstance(calls, dict):
|
||||||
for k, v in calls.items():
|
for k, v in calls.items():
|
||||||
|
Loading…
Reference in New Issue
Block a user