-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(smithy-client): optional param in error handling path #4410
Conversation
@krosenk729 looking at #4367, I think what's actually required to fix is the Java code for the codegen (example). |
(we also noticed this new issue, following the fix for #2861) |
this file is not generated, so this fix can be merged as-is |
Hi there, is this fix released? I am using "@aws-sdk/client-sqs": "^3.43.0", To integrate a fix for this and #2861, which version shall I integrate? |
Thanks @Drarig29 ! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
Issue
Additional fix for #2861
Description
After the fix for #2861 was merged, we are getting
TypeError: Cannot read properties of undefined (reading 'code') at throwDefaultError (/usr/src/service/node_modules/@aws-sdk/client-sqs/node_modules/@aws-sdk/smithy-client/dist-cjs/default-error-handler.js:9:26)
becauseparsedBody
can be undefined nowTesting
codegen and CI
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.