From: Michael Tremer Date: Fri, 10 May 2024 16:36:40 +0000 (+0100) Subject: unbound-dhcp-leases-bridge: Include traceback if the worker callback fails X-Git-Tag: v2.29-core188~10^2~86^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2e4432a8f5c953092f346f0ea9ec468a4c5fd8bb;p=ipfire-2.x.git unbound-dhcp-leases-bridge: Include traceback if the worker callback fails Signed-off-by: Michael Tremer --- 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)