Spaces:
Sleeping
Sleeping
Update app/error_handler.py
Browse files- app/error_handler.py +1 -1
app/error_handler.py
CHANGED
@@ -286,7 +286,7 @@ def with_error_handling(component_name: str, operation_name: str, error_handler=
|
|
286 |
result = func(*args, **kwargs)
|
287 |
|
288 |
# Record success
|
289 |
-
|
290 |
|
291 |
return result
|
292 |
except Exception as e:
|
|
|
286 |
result = func(*args, **kwargs)
|
287 |
|
288 |
# Record success
|
289 |
+
error_handler.record_success(component_name, operation_name)
|
290 |
|
291 |
return result
|
292 |
except Exception as e:
|