lib/fog/azurerm/requests/storage/get_storage_account.rb in fog-azure-rm-0.1.0 vs lib/fog/azurerm/requests/storage/get_storage_account.rb in fog-azure-rm-0.1.1

- old
+ new

@@ -6,11 +6,11 @@ def get_storage_account(resource_group_name, storage_account_name) msg = "Getting storage account: #{storage_account_name}." Fog::Logger.debug msg begin storage_account = @storage_mgmt_client.storage_accounts.get_properties(resource_group_name, storage_account_name) - rescue MsRestAzure::AzureOperationError => e - raise_azure_exception(e, msg) + rescue MsRestAzure::AzureOperationError => ex + raise_azure_exception(ex, msg) end Fog::Logger.debug "Getting storage account: #{storage_account_name} successfully." storage_account end end