Commit 50b3e4e6 authored by Tetiana Chupryna's avatar Tetiana Chupryna

Merge branch 'threat-insights-error-budget' into 'master'

Do not count broken security reports as errors

See merge request gitlab-org/gitlab!68432
parents e8d14d79 7d9e2f72
...@@ -13,6 +13,8 @@ module Security ...@@ -13,6 +13,8 @@ module Security
def execute def execute
build.unmerged_security_reports.reports.each { |report_type, report| track_scan_event(report_type, report) } build.unmerged_security_reports.reports.each { |report_type, report| track_scan_event(report_type, report) }
rescue SecurityReportParserError
nil
end end
private private
......
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