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

@ -1114,7 +1114,7 @@ C1PCPU.prototype.run = function()
this.halt();
this.update();
this.setBusy(false);
this.setError(e.message);
this.setError(e.stack || e.message);
return;
}
setTimeout(function(cpu) { return function() {cpu.run();}; }(this), this.calcRemainingTime());