iopipe / iopipe-js-core

Observe and develop serverless apps with confidence on AWS Lambda with Tracing, Metrics, Profiling, Monitoring, and more.

Home Page:https://www.iopipe.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IOpipe does not catch unhandled Promise rejections

coreylight opened this issue · comments

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:

  1. 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):