Files
node/lib
Anna Henningsen eeea0dd1e7 events: show inspected error in uncaught 'error' message
If there is no handler for `.emit('error', value)` and `value`
is not an `Error` object, we currently just call `.toString()`
on it.

Almost always, using `util.inspect()` provides better information
for diagnostic purposes, so prefer to use that instead.

Refs: https://github.com/nodejs/help/issues/1729

PR-URL: https://github.com/nodejs/node/pull/25621
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Matheus Marchini <mat@mmarchini.me>
2019-01-23 16:43:29 +01:00
..
2018-12-10 17:07:18 +01:00
2018-11-06 10:58:42 -05:00
2018-11-20 10:42:31 -08:00
2019-01-23 16:32:20 +01:00
2019-01-16 12:41:56 +09:00
2018-07-16 15:55:15 -07:00
2017-03-10 11:23:48 -08:00
2018-12-29 13:36:57 -05:00
2019-01-05 21:36:46 +01:00