Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Lina Tang committed Apr 25, 2024
1 parent 09bd62a commit 260806d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def _exec_aggregation(
log_metric(k, v)
else:
logger.warning("The output of aggregation function isn't a dictionary, skip the metrices update.")
except Exception:
except Exception as e:
error_type_and_message = f"({e.__class__.__name__}) {e}"
e = ScriptExecutionError(
message_format="Execution failure in '{func_name}': {error_type_and_message}",
Expand Down

0 comments on commit 260806d

Please sign in to comment.