Skip to content

Commit

Permalink
feat(controller): louder UnhandledPromiseRejection log
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Apr 29, 2023
1 parent a6fd24b commit 5059ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/SwingSet/src/controller/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function makeConsole(tagOrTagCreator) {
function unhandledRejectionHandler(e, pr) {
// Don't trigger sensitive hosts (like AVA).
pr.catch(() => {});
console.error('UnhandledPromiseRejectionWarning:', e);
console.error('🚨 UnhandledPromiseRejection:', e);
}

/**
Expand Down

0 comments on commit 5059ad9

Please sign in to comment.