Files
node/test
Mudit Ameta e2f47f5698 util: Change how Error objects are formatted
Previously, Error objects were formatted as the result of a `toString`
call bounded by square brackets. They are now formatted as the stack
trace for the given error object. The intention initially was to emulate
how browsers do `console.error` but since that would also impact
`console.warn`, `console.log`, etc, it was decided to make the change at
`util.inspect` level which is in turn used by the `console` package.

Fixes: nodejs#4452
PR-URL: https://github.com/nodejs/node/pull/4582
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2016-01-11 09:57:15 -08:00
..
2016-01-05 08:59:58 -08:00
2016-01-05 08:59:58 -08:00
2016-01-05 08:59:58 -08:00
2016-01-01 16:37:02 -08:00
2016-01-05 08:59:58 -08:00
2016-01-05 08:59:58 -08:00
2015-12-30 15:47:37 +11:00