diff --git a/lighthouse-core/lib/sentry.js b/lighthouse-core/lib/sentry.js index 33ee0a4b3d4b..c9c0f5cb05b4 100644 --- a/lighthouse-core/lib/sentry.js +++ b/lighthouse-core/lib/sentry.js @@ -50,6 +50,9 @@ sentryDelegate.init = function init(opts) { Sentry.captureException(...args, () => resolve()); }); }; + + // Report any rejections that are never caught + process.on('unhandledRejection', reason => sentryDelegate.captureException(reason)); } catch (e) { log.warn( 'sentry',