diff --git a/lib/fog/joyent/compute.rb b/lib/fog/joyent/compute.rb index c3138677a..12e68ec8f 100644 --- a/lib/fog/joyent/compute.rb +++ b/lib/fog/joyent/compute.rb @@ -165,7 +165,7 @@ module Fog end response - rescue Excon::Errors::Error => e + rescue Excon::Errors::HTTPStatusError => e raise_if_error!(e.request, e.response) end