diff options
author | Cameron Bothner <cameronbothner@gmail.com> | 2018-08-23 23:36:43 -0400 |
---|---|---|
committer | Cameron Bothner <cameronbothner@gmail.com> | 2018-08-23 23:36:43 -0400 |
commit | aae56c35290da2a6251b773b3f93845e21791823 (patch) | |
tree | 7cc21e735b4bc2845228f084528fc1b66531ab5d /activesupport/test/autoloading_fixtures/d.rb | |
parent | 3868648cae36fd64741135e3d33d7055e925879b (diff) | |
download | rails-aae56c35290da2a6251b773b3f93845e21791823.tar.gz rails-aae56c35290da2a6251b773b3f93845e21791823.tar.bz2 rails-aae56c35290da2a6251b773b3f93845e21791823.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/autoloading_fixtures/d.rb')
0 files changed, 0 insertions, 0 deletions