capture signal error.
This commit is contained in:
@@ -231,6 +231,7 @@ class SignalNotifier:
|
||||
else:
|
||||
ok, err = False, f"unsupported_channel:{c}"
|
||||
except Exception as e:
|
||||
logger.error(rf'signal notify error: {traceback.format_exc()}')
|
||||
ok, err = False, str(e)
|
||||
|
||||
results[c] = {"ok": bool(ok), "error": (err or "")}
|
||||
|
||||
Reference in New Issue
Block a user