Bring C1Pjs exception handling up-to-date

This commit is contained in:
Jeff Parsons 2015-04-30 14:12:01 -07:00 committed by jeffpar
commit 48eb5f853a
3 changed files with 3 additions and 3 deletions

View file

@ -794,7 +794,7 @@ if (DEBUGGER) {
}
catch(e) {
fCompleted = undefined;
this.cpu.setError(e.message || e);
this.cpu.setError(e.stack || e.message);
}
if (fCompleted !== undefined) this.cIns++;
/*