Commit 2c2693e6 authored by Matija Čupić's avatar Matija Čupić

Capture response with Raven

parent ba742c38
......@@ -104,6 +104,7 @@ class JenkinsDeprecatedService < CiService
begin
src = Nokogiri.parse(response).css('img.build-caption-status-icon,.build-caption>img').first.attributes['src'].value
rescue NoMethodError => ex
Raven.capture_exception(ex, extra: { 'response' => response })
return :error
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