Commit 9278eaea authored by Jonathan Schafer's avatar Jonathan Schafer

Remove unnecessary error handling

parent 1d70c15b
......@@ -17,7 +17,6 @@ module Security
def execute
# Ensure we're not trying to insert data twice for this report
return error("#{@report.type} report already stored for this pipeline, skipping...") if executed?
raise ParseError, 'JSON parsing failed' if report.error.is_a?(Gitlab::Ci::Parsers::Security::Common::SecurityReportParserError)
vulnerability_ids = create_all_vulnerabilities!
mark_as_resolved_except(vulnerability_ids)
......
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