From 2e4432a8f5c953092f346f0ea9ec468a4c5fd8bb Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 10 May 2024 17:36:40 +0100 Subject: [PATCH] unbound-dhcp-leases-bridge: Include traceback if the worker callback fails Signed-off-by: Michael Tremer --- config/unbound/unbound-dhcp-leases-bridge | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/unbound/unbound-dhcp-leases-bridge b/config/unbound/unbound-dhcp-leases-bridge index e466cdaf94..7f3f6dd794 100644 --- a/config/unbound/unbound-dhcp-leases-bridge +++ b/config/unbound/unbound-dhcp-leases-bridge @@ -400,7 +400,7 @@ class Worker(threading.Thread): try: self.callback(message) except Exception as e: - log.error("Callback failed: %s" % e) + log.error("Callback failed: %s" % e, exc_info=True) log.debug("Worker %s terminated" % self.native_id) -- 2.39.5