Commit a470ab5
committed
[refactor] Simply the initialization logic for exception handling.
[breaking] No longer respect the `handleExceptions` option to `new winston.Logger`. Instead
just pass in the `exceptionHandlers` option itself.1 parent f0edafd commit a470ab5
1 file changed
Lines changed: 5 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 75 | + | |
84 | 76 | | |
85 | 77 | | |
86 | 78 | | |
| |||
377 | 369 | | |
378 | 370 | | |
379 | 371 | | |
380 | | - | |
381 | | - | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
382 | 375 | | |
383 | 376 | | |
384 | 377 | | |
| |||
394 | 387 | | |
395 | 388 | | |
396 | 389 | | |
| 390 | + | |
397 | 391 | | |
398 | 392 | | |
399 | 393 | | |
| |||
0 commit comments