Skip to content

Commit

Permalink
Log the error when there is a problem with the binary
Browse files Browse the repository at this point in the history
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
  • Loading branch information
xzyfer committed Apr 19, 2016
1 parent ec48be4 commit 211f312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 211f312

Please sign in to comment.