Commit efe3bcd3 authored by Thiago Figueiró's avatar Thiago Figueiró

Fix for do not count broken security reports as errors

parent 9e9376dd
...@@ -13,7 +13,7 @@ module Security ...@@ -13,7 +13,7 @@ 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 rescue Gitlab::Ci::Parsers::Security::Common::SecurityReportParserError
nil nil
end end
......
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