Skip to content
Snippets Groups Projects
Commit 6cffe235 authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #8888: Print backtrace if message handling fails

parent 804c45de
No related branches found
No related tags found
No related merge requests found
......@@ -613,7 +613,8 @@ class AbstractBusListener(object):
continue
except Exception as e:
logger.warning("Handling of message failed with %s", e)
import traceback
logger.warning("Handling of message failed with %s: %s\nMessage: %s", e, traceback.format_exc(),lofar_msg.content)
# Any thrown exceptions either Service exception or unhandled exception
# during the execution of the service handler is caught here.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment