Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

UnhandledPromiseRejectionWarning message when throwing error in async lambda invocation #54

Closed
kobalski opened this issue Apr 11, 2019 · 0 comments · Fixed by #57
Closed
Assignees

Comments

@kobalski
Copy link
Contributor

Below code logs UnhandledPromiseRejectionWarning.

const thundra = require('@thundra/core')();
exports.handler = thundra(async (event) => {
    throw new Error('test error');
});
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant