IOpipe does not catch unhandled Promise rejections
coreylight opened this issue · comments
Corey Light commented
Description
When a Promise throws an error and is not properly caught in user code, iopipe should catch and report this error/invocation.
Steps to reproduce the issue:
- Test a function that throws any error inside of a Promise.
Describe the results you received:
Invocation does not appear in dashboard, is not collected in telemetry.
Describe the results you expected:
Invocation should be reported to the dashboard.
Additional information you deem important (e.g. issue happens only occasionally):