Bring C1Pjs exception handling up-to-date
This commit is contained in:
parent
f822efe1f0
commit
48eb5f853a
3 changed files with 3 additions and 3 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in a new issue