Skip to content

fix(protocol-tests): ser test handler should throw error not object #327

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

Merged
merged 1 commit into from
May 7, 2021

Conversation

AllanZhengYP
Copy link
Contributor

@AllanZhengYP AllanZhengYP commented May 4, 2021

Related to aws/aws-sdk-js-v3#2349

With the v3 change above, SDK will create a JS error wrapper for anything not an error thrown from the SDK. This change makes the RequestSerializationTestHandler to throw a JS error instead of an object. So the SDK won't apply the JS error wrapper to it.

/cc @trivikr

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@AllanZhengYP AllanZhengYP requested a review from trivikr May 5, 2021 02:05
Copy link
Contributor

@alexforsyth alexforsyth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@AllanZhengYP AllanZhengYP merged commit 76dbb4e into smithy-lang:main May 7, 2021
srchase pushed a commit to srchase/smithy-typescript that referenced this pull request Mar 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants