Skip to content

Commit

Permalink
[BugFix] Make the error message truncated not so aggressive (#2876)
Browse files Browse the repository at this point in the history
Fixes #2864

Signed-off-by: acezen <[email protected]>
  • Loading branch information
acezen authored Jun 13, 2023
1 parent e9af91a commit c489c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coordinator/gscoordinator/op_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def _generate_runstep_request(session_id, dag_def, dag_bodies):
# TODO: make the stacktrace separated from normal error messages
# Too verbose.
if len(e.details()) > 3072: # 3k bytes
msg = f"{e.details()[:30]} ... [truncated]"
msg = f"{e.details()[:256]} ... [truncated]"
else:
msg = e.details()
raise AnalyticalEngineInternalError(msg)
Expand Down

0 comments on commit c489c63

Please sign in to comment.