aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2017-08-05 09:02:17 -0500
committerGitHub <noreply@github.com>2017-08-05 09:02:17 -0500
commit354b1426475fdf1b3aa3753e4832be52a0234179 (patch)
tree2e37f334babb3f8871ae51d7f83b51c451548674 /activestorage
parentd6b8b8c1429f8291105bea6bb59d407d442988e8 (diff)
parent2b9e04b6f9b21087a8b44c4b3758d0b3ae1e7e12 (diff)
downloadrails-354b1426475fdf1b3aa3753e4832be52a0234179.tar.gz
rails-354b1426475fdf1b3aa3753e4832be52a0234179.tar.bz2
rails-354b1426475fdf1b3aa3753e4832be52a0234179.zip
Merge pull request #30056 from dixpac/remove_unecessary_variable
Remove unnecessary variable
Diffstat (limited to 'activestorage')
-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