Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Commit 211f312

Browse files
committed
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
1 parent ec48be4 commit 211f312

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ function testBinary(options) {
209209

210210
console.log('Binary is fine; exiting.');
211211
} catch (e) {
212-
console.log(['Problem with the binary.', 'Manual build incoming.'].join(eol));
212+
console.log(['Problem with the binary:', e, 'Manual build incoming.'].join(eol));
213213

214214
return build(options);
215215
}

0 commit comments

Comments
 (0)