From 211f31284b911b66df12bb6f83303645643310e5 Mon Sep 17 00:00:00 2001 From: xzyfer Date: Tue, 19 Apr 2016 19:30:57 +1000 Subject: [PATCH] Log the error when there is a problem with the binary This is a messy first cut. We can revisit this in upcomming patches. The value this will bring to debugging installation errors makes this worth considered we're about to release a LibSass bump. Fixes #1161 --- scripts/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.js b/scripts/build.js index 2147c43e5..62280ccb5 100644 --- a/scripts/build.js +++ b/scripts/build.js @@ -209,7 +209,7 @@ function testBinary(options) { console.log('Binary is fine; exiting.'); } catch (e) { - console.log(['Problem with the binary.', 'Manual build incoming.'].join(eol)); + console.log(['Problem with the binary:', e, 'Manual build incoming.'].join(eol)); return build(options); }