From 73dcf3d25ea03520a21d77dd69b3a4c080ed610c Mon Sep 17 00:00:00 2001 From: RunDevelopment Date: Thu, 4 Apr 2024 16:21:38 +0200 Subject: [PATCH] Fixed server getting stuck on deleted files --- backend/src/process.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/backend/src/process.py b/backend/src/process.py index 876eb51f1..297d88874 100644 --- a/backend/src/process.py +++ b/backend/src/process.py @@ -46,25 +46,25 @@ def collect_input_information( if not enforced: try: value = node_input.enforce_(value) # noqa - except Exception as e: + except Exception: logger.error( f"Error enforcing input {node_input.label} (id {node_input.id})", - e, + exc_info=True, ) # We'll just try using the un-enforced value. Maybe it'll work. try: input_dict[node_input.id] = node_input.get_error_value(value) - except Exception as e: + except Exception: logger.error( f"Error getting error value for input {node_input.label} (id {node_input.id})", - e, + exc_info=True, ) return input_dict - except Exception as outer_e: + except Exception: # this method must not throw - logger.error("Error collecting input information.", outer_e) + logger.error("Error collecting input information.", exc_info=True) return {}