Skip to content
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: Call correct exception when Connectors attribute is non-dict #3022

Merged
merged 12 commits into from
Mar 13, 2023

Conversation

aaythapa
Copy link
Contributor

@aaythapa aaythapa commented Mar 13, 2023

Issue #, if available

N/A

Description of changes

Added a continue when handling the exception where Connectors is non-dict and indented the code underneath.

Description of how you validated changes

Added transform test and made sure right error popped up. Error pops if Connectors attributes is set to non-dict

Checklist

Examples?

Please reach out in the comments if you want to add an example. Examples will be
added to sam init through aws/aws-sam-cli-app-templates.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@aaythapa aaythapa marked this pull request as ready for review March 13, 2023 21:14
@aaythapa aaythapa requested a review from a team as a code owner March 13, 2023 21:14
@aaythapa aaythapa enabled auto-merge March 13, 2023 21:38
@aaythapa aaythapa added this pull request to the merge queue Mar 13, 2023
Merged via the queue into aws:develop with commit c1d1001 Mar 13, 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.

4 participants