From 8cd0f94869c0477dc88cdba85a34e22471b52971 Mon Sep 17 00:00:00 2001 From: Tain101 Date: Mon, 5 Mar 2018 19:56:52 -0600 Subject: [PATCH] added catch with error output --- csscomb.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/csscomb.js b/csscomb.js index 8a9e3bf..3594bbb 100644 --- a/csscomb.js +++ b/csscomb.js @@ -29,6 +29,8 @@ process.stdin.on('end', function () { promise.then(function(string) { process.stdout.write(string); + }).catch(function(error) { + process.stderr.write(error.stack); }) });