Skip to content

refactor: Use await so the handler appears in the stack trace on error#97

Merged
onebytegone merged 1 commit into
silvermine:masterfrom
epsmith001:elismith/improve-stack-trace-433543
May 11, 2026
Merged

refactor: Use await so the handler appears in the stack trace on error#97
onebytegone merged 1 commit into
silvermine:masterfrom
epsmith001:elismith/improve-stack-trace-433543

Conversation

@epsmith001
Copy link
Copy Markdown
Contributor

Updated createAsyncHandler to use return await app.runAsync(event, context) so the handler frame is preserved in async stack traces when errors occur.

@epsmith001 epsmith001 marked this pull request as draft May 7, 2026 00:52
@epsmith001 epsmith001 marked this pull request as ready for review May 7, 2026 00:56
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 98.389%. remained the same — epsmith001:elismith/improve-stack-trace-433543 into silvermine:master

@onebytegone onebytegone merged commit d3f958b into silvermine:master May 11, 2026
13 of 14 checks passed
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