RED-4564: Print full exception with traceback when processing from the queue
This commit is contained in:
parent
4f18dbc60d
commit
12ebd186b2
@ -40,6 +40,8 @@ def make_callback(analysis_endpoint):
|
||||
|
||||
|
||||
def main():
|
||||
logger = logging.getLogger("main")
|
||||
|
||||
show_banner()
|
||||
|
||||
webserver = Process(target=run_probing_webserver, args=(set_up_probing_webserver(),))
|
||||
@ -58,6 +60,7 @@ def main():
|
||||
consumer = Consumer(visitor, queue_manager)
|
||||
consumer.basic_consume_and_publish()
|
||||
except Exception as err:
|
||||
logger.exception(err)
|
||||
raise ConsumerError from err
|
||||
|
||||
try:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user