Skip to content

Commit

Permalink
Less verbose exception message in rustc.html
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Apr 9, 2024
1 parent e03d88a commit a5d4136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/rustc.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
});
term.writeln("\x1B[93mExecuting\x1B[0m");
console.log(inst.exports);
try { w.start(inst); } catch(e) { term.writeln("Exception: " + e.message); term.writeln("backtrace:"); term.writeln(e.stack); throw e; }
try { w.start(inst); } catch(e) { term.writeln("Exception: " + e.message); /*term.writeln("backtrace:"); term.writeln(e.stack);*/ }
term.writeln("\x1B[92mDone\x1B[0m");

console.log(fds);
Expand Down

0 comments on commit a5d4136

Please sign in to comment.