Commit 2d5ea9c0 authored by Maxime Orefice's avatar Maxime Orefice

Add logs to coverage reports

This commit adds more debugging data to investigate a current bug
when fetching coverage reports data with reactive cache.
parent 4ee871cb
......@@ -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