lib/deputy.rb in deputy-0.1.41 vs lib/deputy.rb in deputy-0.1.42
- old
+ new
@@ -128,10 +128,10 @@
options[:http_basic_authentication] = extract_auth_from_url!(url)
Timeout.timeout(config['timeout']||10) do
open(url, options).read
end
- rescue => e
+ rescue Exception => e
e.message << url.to_s
raise e
end
def self.sheriff_url
\ No newline at end of file