Use exception info
This commit is contained in:
parent
052e853b20
commit
65436ad5d6
|
@ -33,7 +33,8 @@ def safe_process_telemetry(processing_function, telemetry_json):
|
|||
try:
|
||||
processing_function(telemetry_json)
|
||||
except Exception as err:
|
||||
logger.error("Error while in {} stage of processing telemetry.".format(processing_function.func_name),
|
||||
logger.error(
|
||||
"Error {} while in {} stage of processing telemetry.".format(str(err), processing_function.func_name),
|
||||
exc_info=True)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue