lib/appsignal/auth_check.rb in appsignal-1.4.0.alpha.2 vs lib/appsignal/auth_check.rb in appsignal-1.4.0.beta.1
- old
+ new
@@ -24,10 +24,10 @@
else
result = 'Could not confirm authorization: '\
"#{status.nil? ? 'nil' : status}"
end
[status, result]
- rescue Exception => e
+ rescue => e
result = 'Something went wrong while trying to '\
"authenticate with AppSignal: #{e}"
[nil, result]
end
end