Skip to content

Commit

Permalink
No need to interpret the error twice
Browse files Browse the repository at this point in the history
  • Loading branch information
ranlu committed Jul 1, 2024
1 parent 330f8fd commit 9bb6072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dags/slack_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def task_failure_alert(context):
break
parsed_msg = interpret_error_message(error_message)
if parsed_msg:
slack_message(interpret_error_message(error_message))
slack_message(parsed_msg)
else:
slack_message(f"Failed to use the LLM server to interpret the error message ```{error_message}```")

Expand Down

0 comments on commit 9bb6072

Please sign in to comment.