aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/lib/active_storage/service
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2017-08-05 09:11:02 -0500
committerGitHub <noreply@github.com>2017-08-05 09:11:02 -0500
commit616f3611d525b97c5cdb1a5feee25621cca27daf (patch)
tree79591ed29b2a9670519438bce2d53f1a096cee06 /activestorage/lib/active_storage/service
parentbb7599a6c84aba44cbb5f21486ffdb4a549717dd (diff)
parent6df24c693ed50a66feaf116c90df7eba5acf4033 (diff)
downloadrails-616f3611d525b97c5cdb1a5feee25621cca27daf.tar.gz
rails-616f3611d525b97c5cdb1a5feee25621cca27daf.tar.bz2
rails-616f3611d525b97c5cdb1a5feee25621cca27daf.zip
Merge branch 'master' into ast-module
Diffstat (limited to 'activestorage/lib/active_storage/service')
-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 62b13433fe..c2e1b25a43 100644
--- a/activestorage/lib/active_storage/service/azure_storage_service.rb
+++ b/activestorage/lib/active_storage/service/azure_storage_service.rb
@@ -20,7 +20,7 @@ module ActiveStorage
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