Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9278eaea
Commit
9278eaea
authored
Aug 31, 2020
by
Jonathan Schafer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary error handling
parent
1d70c15b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
ee/app/services/security/store_report_service.rb
ee/app/services/security/store_report_service.rb
+0
-1
No files found.
ee/app/services/security/store_report_service.rb
View file @
9278eaea
...
@@ -17,7 +17,6 @@ module Security
...
@@ -17,7 +17,6 @@ module Security
def
execute
def
execute
# Ensure we're not trying to insert data twice for this report
# 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?
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!
vulnerability_ids
=
create_all_vulnerabilities!
mark_as_resolved_except
(
vulnerability_ids
)
mark_as_resolved_except
(
vulnerability_ids
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment