Skip to content

Conversation

mndeveci
Copy link
Contributor

@mndeveci mndeveci commented Apr 4, 2022

Issue #, if available:
N/A

Description of changes:
Use string formatting when preparing the exception messages. Otherwise it is creating issues when concatenating a string with Py27Dict object.

Checklist:

  • Add/update unit tests using:
  • Add/update integration tests
  • make pr passes
  • Update documentation
  • Verify transformed template deploys and application functions as expected

Examples?

Please reach out in the comments, if you want to add an example. Examples will be
added to sam init through https://github.com/awslabs/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.

Copy link
Contributor

@moelasmar moelasmar left a comment

Choose a reason for hiding this comment

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

can we add a unit test case to cover this fix?

@mndeveci mndeveci merged commit 86522b2 into aws:develop Apr 4, 2022
@mndeveci mndeveci deleted the fix_use_formatting_exc_messages branch April 4, 2022 20:27
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.

3 participants