diff options
author | Cameron Bothner <cameronbothner@gmail.com> | 2018-08-20 17:35:36 -0400 |
---|---|---|
committer | Cameron Bothner <cameronbothner@gmail.com> | 2018-08-23 17:54:35 -0400 |
commit | 6acf2fa363cee293286578b83646af4015a140df (patch) | |
tree | f821c5251b80d84a5024a8b49bbe1c69e1338a31 /activesupport/test/evented_file_update_checker_test.rb | |
parent | de6a200f82a3de399fa685d583503bc88dbc5e9f (diff) | |
download | rails-6acf2fa363cee293286578b83646af4015a140df.tar.gz rails-6acf2fa363cee293286578b83646af4015a140df.tar.bz2 rails-6acf2fa363cee293286578b83646af4015a140df.zip |
Handle only specifically relevant Azure HTTPErrors
The Azure gem uses `Azure::Core::Http::HTTPError` for everything:
checksum mismatch, missing object, network unavailable, and many more.
(https://www.rubydoc.info/github/yaxia/azure-storage-ruby/Azure/Core/Http/HTTPError).
Rescuing that class obscures all sorts of configuration errors. We
should check the type of error in those rescue blocks, and reraise when
needed.
Diffstat (limited to 'activesupport/test/evented_file_update_checker_test.rb')
0 files changed, 0 insertions, 0 deletions