lib/atom/configuration.rb in ratom-0.6.7 vs lib/atom/configuration.rb in ratom-0.6.8
- old
+ new
@@ -11,10 +11,10 @@
unless defined?(@auth_hmac_enabled)
begin
gem 'auth-hmac'
require 'auth-hmac'
@auth_hmac_enabled = true
- rescue
+ rescue Exception
@auth_hmac_enabled = false
end
else
@auth_hmac_enabled
end