lib/fog/azurerm/requests/sql/get_database.rb in fog-azure-rm-0.0.9 vs lib/fog/azurerm/requests/sql/get_database.rb in fog-azure-rm-0.1.0

- old
+ new

@@ -13,11 +13,11 @@ resource_url, accept: :json, content_type: :json, authorization: token ) - rescue MsRestAzure::AzureOperationError => e - raise_azure_exception(e, JSON.parse(e.response)['message']) + rescue RestClient::Exception => e + raise JSON.parse(e.response)['message'] end Fog::Logger.debug "Sql Database fetched successfully in Resource Group: #{resource_group}" JSON.parse(response) end end