capture signal error.

This commit is contained in:
guopengfa
2026-01-19 16:50:17 +08:00
parent 433e966860
commit 70fbdac34f
@@ -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 "")}