diff options
author | Ruben Bridgewater <ruben@bridgewater.de> | 2019-04-02 07:56:14 +0200 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-04-15 17:30:50 +0200 |
commit | 1940114ac323695c758f21a00394b958a68d8428 (patch) | |
tree | ac64cc180479672da3eb6dfee02642fde784cbd0 /test/fixtures/node_modules | |
parent | 693401d0ddd752e5fa47b882e56e252c42c94c0e (diff) | |
download | android-node-v8-1940114ac323695c758f21a00394b958a68d8428.tar.gz android-node-v8-1940114ac323695c758f21a00394b958a68d8428.tar.bz2 android-node-v8-1940114ac323695c758f21a00394b958a68d8428.zip |
util: highlight stack frames
Using `util.inspect` on errors is going to highlight userland and
node_module stack frames from now on. This is done by marking Node.js
core frames grey and frames that contain `node_modules` in their path
yellow.
That way it's easy to grasp what frames belong to what code.
PR-URL: https://github.com/nodejs/node/pull/27052
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/fixtures/node_modules')
-rw-r--r-- | test/fixtures/node_modules/node_modules/bar.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/fixtures/node_modules/node_modules/bar.js b/test/fixtures/node_modules/node_modules/bar.js index 84b74de9d9..a2aab083b7 100644 --- a/test/fixtures/node_modules/node_modules/bar.js +++ b/test/fixtures/node_modules/node_modules/bar.js @@ -19,6 +19,4 @@ // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE // USE OR OTHER DEALINGS IN THE SOFTWARE. -console.error(__filename); -console.error(module.paths.join('\n') + '\n'); throw new Error('Should not ever get here.'); |