diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2017-08-05 09:11:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-05 09:11:02 -0500 |
commit | 616f3611d525b97c5cdb1a5feee25621cca27daf (patch) | |
tree | 79591ed29b2a9670519438bce2d53f1a096cee06 /activestorage/lib/active_storage/service | |
parent | bb7599a6c84aba44cbb5f21486ffdb4a549717dd (diff) | |
parent | 6df24c693ed50a66feaf116c90df7eba5acf4033 (diff) | |
download | rails-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.rb | 2 |
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 |