Skip to content

Commit aa03bf2

Browse files
committed
rm print stmt
1 parent 7536b56 commit aa03bf2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
/* eslint-disable no-console */
21
// eslint-disable-next-line @typescript-eslint/no-require-imports
32
const process = require('process');
43

5-
process.on('unhandledRejection', (error, promise) => {
6-
console.log('promise:', promise, 'unhandledRejection:', error);
4+
process.on('unhandledRejection', error => {
75
throw error;
86
});

0 commit comments

Comments
 (0)