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

Commit de40365

Browse files
committed
typo and retry
1 parent 41a1ee3 commit de40365

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/codecov.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,10 +275,10 @@ def format(result)
275275
# make request
276276
begin
277277
response = https.request(req)
278-
rescue TimeoutEror => e
278+
rescue TimeoutError => e
279279
puts 'Error uploading coverage reports to Codecov. Will retry'
280280
puts e
281-
return
281+
retry
282282
rescue StandardError => e
283283
puts 'Error uploading coverage reports to Codecov. Sorry'
284284
puts e

0 commit comments

Comments
 (0)