Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Raise message
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu-codecov committed Aug 17, 2021
1 parent 1ae5e45 commit 224db0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/codecov/uploader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def self.upload(report, disable_net_blockers = true)
end

if response == false
raise e unless ::Codecov.pass_ci_if_error
raise StandardError.new report unless ::Codecov.pass_ci_if_error

report['result'] = { 'uploaded' => false }
return report
Expand Down

0 comments on commit 224db0e

Please sign in to comment.