Skip to content

Commit f745e80

Browse files
committed
fixup! fixup! lib: aggregate errors to avoid error swallowing
1 parent 41b580b commit f745e80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/message/error_aggregateTwoErrors.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const { aggregateTwoErrors } = require('internal/errors');
77
const originalError = new Error('original');
88
const err = new Error('second error');
99

10-
originalError.code = 'ERR0'
11-
err.code = 'ERR1'
10+
originalError.code = 'ERR0';
11+
err.code = 'ERR1';
1212

1313
throw aggregateTwoErrors(err, originalError);

0 commit comments

Comments
 (0)