Files
node/test/parallel
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
..
2019-01-10 03:26:51 +01:00
2018-12-10 17:07:18 +01:00
2019-01-14 18:36:32 +01:00
2018-09-23 16:36:24 -07:00
2018-10-23 13:32:40 -07:00
2018-09-11 16:58:16 +08:00
2018-09-11 16:58:16 +08:00
2018-12-10 17:07:18 +01:00
2018-12-08 09:20:45 -08:00
2018-10-15 07:28:52 +02:00
2019-01-10 09:00:22 -05:00
2019-01-08 12:57:24 -06:00
2019-01-05 21:36:47 +01:00
2019-01-05 21:36:47 +01:00