From 381fdd188650910f0fc3c98a3f1924a276d5637a Mon Sep 17 00:00:00 2001 From: Andrew Bradley Date: Mon, 19 Jul 2021 18:45:45 -0400 Subject: [PATCH] implement #263 --- source-map-support.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source-map-support.js b/source-map-support.js index 4459386..5ee3c1d 100644 --- a/source-map-support.js +++ b/source-map-support.js @@ -471,11 +471,10 @@ function printErrorAndExit (error) { } if (source) { - console.error(); console.error(source); } - console.error(error.stack); + console.error(error); process.exit(1); }