diff --git a/lib/tapioca/commands/annotations.rb b/lib/tapioca/commands/annotations.rb index d807def32..2a076ce44 100644 --- a/lib/tapioca/commands/annotations.rb +++ b/lib/tapioca/commands/annotations.rb @@ -187,7 +187,7 @@ def fetch_http_file(repo_uri, path) say_http_error(path, repo_uri, message: response.class) nil end - rescue SocketError, Errno::ECONNREFUSED => e + rescue => e say_http_error(path, repo_uri, message: e.message) nil end