Skip to content

Commit 8bd7081

Browse files
committed
refactor deprecated exception
1 parent 25e8c02 commit 8bd7081

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/quayio/scanner/repository.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def api_call(uri)
3131
open_timeout: 15
3232
)
3333
return JSON.parse(response)
34-
rescue RestClient::ExceptionWithResponse => e
34+
rescue RestClient::Exception => e
3535
raise e if attempt >= MAX_ATTEMPTS
3636

3737
# retry later, if we hit cdn rate limiting or on connection errors

0 commit comments

Comments
 (0)