Commit f57b499c authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Add traceback to logs.

parent 4bf9eddb
Pipeline #32951 passed with stages
in 2 minutes
......@@ -249,7 +249,7 @@ class UpdateRecordSet(Resource):
}, 503
except Exception as ex:
msg = 'Could not import ' + record_set_id + ' (Unknown Exception): ' + str(ex)
current_app.logger.error(msg)
current_app.logger.error(f"{msg}\n{traceback.format_exc()}")
return {
'status': 'FAILURE',
'topic_key': result_topic_value.get('field_memobase_id'),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment