diff --git a/lib/fog/vcloud/compute.rb b/lib/fog/vcloud/compute.rb index d883ea79d..5d6cf7d86 100644 --- a/lib/fog/vcloud/compute.rb +++ b/lib/fog/vcloud/compute.rb @@ -258,7 +258,7 @@ module Fog end begin do_request(params) - rescue Excon::Errors::Unauthorized => e + rescue Excon::Errors::Unauthorized do_login do_request(params) end