File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -174,9 +174,9 @@ module.exports = class ExceptionHandler {
174
174
175
175
if ( ! handlers . length && doExit ) {
176
176
// eslint-disable-next-line no-console
177
- console . warn ( 'winston: exitOnError cannot be false with no exception handlers.' ) ;
177
+ console . warn ( 'winston: exitOnError cannot be true with no exception handlers.' ) ;
178
178
// eslint-disable-next-line no-console
179
- console . warn ( 'winston: exiting process.' ) ;
179
+ console . warn ( 'winston: not exiting process.' ) ;
180
180
doExit = false ;
181
181
}
182
182
Original file line number Diff line number Diff line change @@ -176,11 +176,9 @@ module.exports = class RejectionHandler {
176
176
177
177
if ( ! handlers . length && doExit ) {
178
178
// eslint-disable-next-line no-console
179
- console . warn (
180
- 'winston: exitOnError cannot be false with no rejection handlers.'
181
- ) ;
179
+ console . warn ( 'winston: exitOnError cannot be true with no rejection handlers.' ) ;
182
180
// eslint-disable-next-line no-console
183
- console . warn ( 'winston: exiting process.' ) ;
181
+ console . warn ( 'winston: not exiting process.' ) ;
184
182
doExit = false ;
185
183
}
186
184
You can’t perform that action at this time.
0 commit comments