Skip to content

Commit 4d9924a

Browse files
committed
Do not show the body in the error message by default
1 parent c939467 commit 4d9924a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/azure_blob/http.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ class Error < AzureBlob::Error
1212
def initialize(body: nil, status: nil)
1313
@body = body
1414
@status = status
15-
super(body)
15+
end
16+
17+
def inspect
18+
@body
1619
end
1720
end
1821
class FileNotFoundError < Error; end

0 commit comments

Comments
 (0)