Read about our upcoming Code of Conduct on this issue

Commit ca0f1078 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge branch 'webhook-rescue' into 'master'

Webhook rescue Errno::ECONNRESET

Fixes #1821

See merge request !1466
......@@ -48,7 +48,7 @@ def execute(data)
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment