提交 354b1426 编写于 作者: D David Heinemeier Hansson 提交者: GitHub

Merge pull request #30056 from dixpac/remove_unecessary_variable

Remove unnecessary variable
......@@ -19,7 +19,7 @@ def upload(key, io, checksum: nil)
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册