Skip to content

Commit

Permalink
Make log links more compact
Browse files Browse the repository at this point in the history
  • Loading branch information
stacimc committed Apr 10, 2024
1 parent 128bb02 commit d6e9b7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion catalog/dags/providers/provider_dag_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,9 @@ def report_aggregate_reingestion_errors(
f"Ingestion errors were encountered in {len(failed_pull_data_tasks)}"
f" ingestion days while running the `{provider_conf.dag_id}` DAG. See the following"
" logs for details:\n"
) + "\n".join(f" - {task.log_url}" for task in failed_pull_data_tasks)
) + "\n".join(
f" - <{task.log_url}|{task.task_id}>" for task in failed_pull_data_tasks
)

slack.send_alert(message, provider_conf.dag_id, "Aggregate Reingestion Error")

Expand Down

0 comments on commit d6e9b7d

Please sign in to comment.