From 974e2205d1cff8c5383cccc2c89eed940fe2e3c5 Mon Sep 17 00:00:00 2001 From: Shay Nehmad Date: Sun, 5 Jan 2020 15:47:37 +0200 Subject: [PATCH] Bugfix in error handling - func_name does not exist --- .../cc/services/telemetry/processing/system_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/monkey_island/cc/services/telemetry/processing/system_info.py b/monkey/monkey_island/cc/services/telemetry/processing/system_info.py index 9ab0b45f0..8df189655 100644 --- a/monkey/monkey_island/cc/services/telemetry/processing/system_info.py +++ b/monkey/monkey_island/cc/services/telemetry/processing/system_info.py @@ -34,7 +34,7 @@ def safe_process_telemetry(processing_function, telemetry_json): processing_function(telemetry_json) except Exception as err: logger.error( - "Error {} while in {} stage of processing telemetry.".format(str(err), processing_function.func_name), + "Error {} while in {} stage of processing telemetry.".format(str(err), processing_function.__name__), exc_info=True)