lib/fog/azurerm/utilities/general.rb in fog-azure-rm-temp-0.0.1 vs lib/fog/azurerm/utilities/general.rb in fog-azure-rm-temp-0.0.2
- old
+ new
@@ -53,10 +53,10 @@
else
exception.body['error']['message']
end
exception_message = "Exception in #{msg} #{message} Type: #{exception.class}\n#{exception.backtrace.join("\n")}"
else
- "#{exception.inspect}\n#{exception.backtrace.join("\n")}"
+ exception_message = "#{exception.inspect}\n#{exception.backtrace.join("\n")}"
end
Fog::Logger.debug exception.backtrace
raise exception_message
end