aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/lib
diff options
context:
space:
mode:
authordixpac <dino.onex@gmail.com>2017-08-03 12:34:20 +0200
committerdixpac <dino.onex@gmail.com>2017-08-05 14:05:18 +0200
commit2b9e04b6f9b21087a8b44c4b3758d0b3ae1e7e12 (patch)
tree2e37f334babb3f8871ae51d7f83b51c451548674 /activestorage/lib
parentd6b8b8c1429f8291105bea6bb59d407d442988e8 (diff)
downloadrails-2b9e04b6f9b21087a8b44c4b3758d0b3ae1e7e12.tar.gz
rails-2b9e04b6f9b21087a8b44c4b3758d0b3ae1e7e12.tar.bz2
rails-2b9e04b6f9b21087a8b44c4b3758d0b3ae1e7e12.zip
Remove unecesarry exception variable
Diffstat (limited to 'activestorage/lib')
-rw-r--r--activestorage/lib/active_storage/service/azure_storage_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activestorage/lib/active_storage/service/azure_storage_service.rb b/activestorage/lib/active_storage/service/azure_storage_service.rb
index 527dc57eeb..e13b32eb98 100644
--- a/activestorage/lib/active_storage/service/azure_storage_service.rb
+++ b/activestorage/lib/active_storage/service/azure_storage_service.rb
@@ -19,7 +19,7 @@ class ActiveStorage::Service::AzureStorageService < ActiveStorage::Service
instrument :upload, key, checksum: checksum do
begin
blobs.create_block_blob(container, key, io, content_md5: checksum)
- rescue Azure::Core::Http::HTTPError => e
+ rescue Azure::Core::Http::HTTPError
raise ActiveStorage::IntegrityError
end
end