Skip to content

Commit

Permalink
fix: make unhandledRejections log louder
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed Apr 2, 2020
1 parent 589ae5d commit 313adf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/SwingSet/src/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const log = anylogger('SwingSet:controller');

// FIXME: Put this somewhere better.
process.on('unhandledRejection', e =>
log('UnhandledPromiseRejectionWarning:', e),
log.error('UnhandledPromiseRejectionWarning:', e),
);

const ADMIN_DEVICE_PATH = require.resolve('./kernel/vatAdmin/vatAdmin-src');
Expand Down

0 comments on commit 313adf0

Please sign in to comment.