diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-03 13:57:28 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-02-03 13:57:28 -0800 |
commit | a89d7adfa44767e71cfb9005e5a3eed6a91b4d84 (patch) | |
tree | bd872dbbc3c7ee303aabd8cb41b02b209a4a0778 /app/models/hooks | |
parent | 8618277f24e9adeef28fe93dc23b39f7a5357c52 (diff) | |
download | gitlab-ce-a89d7adfa44767e71cfb9005e5a3eed6a91b4d84.tar.gz |
Rescue connection reset for web hooks
Diffstat (limited to 'app/models/hooks')
-rw-r--r-- | app/models/hooks/web_hook.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/hooks/web_hook.rb b/app/models/hooks/web_hook.rb index 327cb585ffa..c8fa9c50918 100644 --- a/app/models/hooks/web_hook.rb +++ b/app/models/hooks/web_hook.rb @@ -48,7 +48,7 @@ class WebHook < ActiveRecord::Base verify: false, basic_auth: auth) end - rescue SocketError, Errno::ECONNREFUSED, Net::OpenTimeout => e + rescue SocketError, Errno::ECONNRESET, Errno::ECONNREFUSED, Net::OpenTimeout => e logger.error("WebHook Error => #{e}") false end |