Checkboxes for prior research
Describe the bug
When creating S3Client I provide a logger.
I see that for example content for info log have response information under metadata. But when logging error I cant find the same information. This is the closest information I can find:
{"error":{"$metadata":{"attempts":1,"totalRetryDelay":0}},"metadata":{"attempts":1,"totalRetryDelay":0}}
It would be nice to get more error information like status-code and/or message from server. Something that can actually tell me what the error is.
Regression Issue
SDK version number
@aws-sdk/lib-storage:3.758.0
Which JavaScript Runtime is this issue in?
Browser
Details of the browser/Node.js/ReactNative version
node: v22.11.0, Chrome: 131.0.6778.85
Reproduction Steps
Observed Behavior
Expected Behavior
Possible Solution
No response
Additional Information/Context
No response
Checkboxes for prior research
Describe the bug
When creating
S3ClientI provide a logger.I see that for example
contentfor info log have response information undermetadata. But when logging error I cant find the same information. This is the closest information I can find:{"error":{"$metadata":{"attempts":1,"totalRetryDelay":0}},"metadata":{"attempts":1,"totalRetryDelay":0}}It would be nice to get more error information like status-code and/or message from server. Something that can actually tell me what the error is.
Regression Issue
SDK version number
@aws-sdk/lib-storage:3.758.0
Which JavaScript Runtime is this issue in?
Browser
Details of the browser/Node.js/ReactNative version
node: v22.11.0, Chrome: 131.0.6778.85
Reproduction Steps
Observed Behavior
Expected Behavior
Possible Solution
No response
Additional Information/Context
No response