Commit f7ab5c75 authored by Dylan Griffith's avatar Dylan Griffith

Merge branch 'mo-add-logs-to-coverage-reports-worker' into 'master'

Add logs to coverage reports

See merge request gitlab-org/gitlab!57535
parents 41df8dec 2d5ea9c0
......@@ -15,7 +15,13 @@ module Ci
data: head_pipeline.pipeline_artifacts.find_by_file_type(:code_coverage).present.for_files(merge_request.new_paths)
}
rescue => e
Gitlab::ErrorTracking.track_exception(e, project_id: project.id)
Gitlab::ErrorTracking.track_exception(
e,
project_id: project.id,
base_pipeline_id: base_pipeline&.id,
head_pipeline_id: head_pipeline&.id
)
{
status: :error,
key: key(base_pipeline, head_pipeline),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment