Skip to content

Conversation

@petermyers
Copy link
Collaborator

In the update flavor, if the provided toUpdateRequest function was not async and threw an error, it would not get caught in the fault handler and instead just throw an uncaught error causing the lambda to error.

This updates the toUpdateRequest function to align with other flavors like the materialize flavor.

@petermyers petermyers changed the title Handle faults in update flavor toUpdateRequest correctly even if provided function is not async Handle faults in update flavor toUpdateRequest when provided update request function is not async Sep 11, 2025
@petermyers petermyers merged commit d62f6e8 into master Sep 12, 2025
2 checks passed
@petermyers petermyers deleted the issue-fault-not-caught branch September 12, 2025 02: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