fix(execution): KIS child cancel identity binding, sanitized logging, PG cancel SQL tests
Co-authored-by: genichin <4282227+genichin@users.noreply.github.com>
This commit is contained in:
co-authored by
genichin
parent
f0ac909958
commit
65df10542b
@@ -408,8 +408,14 @@ class Daemon:
|
||||
self.event_publisher.keepalive_tick()
|
||||
try:
|
||||
self.execution.run_once()
|
||||
except Exception: # noqa: BLE001 - loop must survive transient errors
|
||||
_log.exception("execution loop error — worker continues")
|
||||
except Exception as exc: # noqa: BLE001 - loop must survive transient errors
|
||||
# Sanitized: emit only the exception type, not the message or
|
||||
# traceback, so credentials / DSN / raw payloads in adapter
|
||||
# exceptions are never written to the log stream.
|
||||
_log.error(
|
||||
"execution loop error — worker continues: exc_type=%s",
|
||||
type(exc).__name__,
|
||||
)
|
||||
|
||||
def _ledger_loop(self) -> None:
|
||||
while not self.stop.wait(self.config.ledger_interval_sec):
|
||||
|
||||
Reference in New Issue
Block a user