Files
node/lib
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-07 03:39:15 -05:00
2015-10-08 17:32:08 -07:00
2015-12-02 11:05:11 -08:00
2016-01-07 03:39:15 -05:00
2015-12-25 13:05:23 -08:00
2015-06-11 20:24:44 +02:00
2015-12-25 13:05:23 -08:00
2015-01-31 23:47:29 -05:00