-
-
Save null-a/439c4ee09494b49a27cbb255fdb58a2e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/webppl b/webppl | |
index 3010f42..0e2141a 100755 | |
--- a/webppl | |
+++ b/webppl | |
@@ -36,6 +36,7 @@ function run(code, packages, verbose, debug, programFile) { | |
try { | |
var stack = errors.recoverStack(error, parseV8); | |
showError(error, stack, programFile, debug); | |
+ console.log(error.stack); | |
process.exitCode = 1; | |
} catch (e) { | |
// If we fail to generate a readable error message re-throw |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment