Skip to content

Commit 4e37e67

Browse files
authored
Merge pull request #2695 from Shopify/ko-handle-bad-annotation-sources
Handle all annotation source request failures
2 parents b1822ed + 5f04d96 commit 4e37e67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/tapioca/commands/annotations.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def fetch_http_file(repo_uri, path)
187187
say_http_error(path, repo_uri, message: response.class)
188188
nil
189189
end
190-
rescue SocketError, Errno::ECONNREFUSED => e
190+
rescue => e
191191
say_http_error(path, repo_uri, message: e.message)
192192
nil
193193
end

0 commit comments

Comments
 (0)