mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-26 10:49:17 +00:00
got rid of blank error msg when program halts normally
This commit is contained in:
parent
d3cac31c2f
commit
f3ed9191ee
@ -1106,6 +1106,7 @@ function showErrorAlert(errors : WorkerError[]) {
|
||||
}
|
||||
|
||||
function showExceptionAsError(err, msg:string) {
|
||||
if (msg != null) {
|
||||
var werr : WorkerError = {msg:msg, line:0};
|
||||
if (err instanceof EmuHalt && err.$loc) {
|
||||
werr = Object.create(err.$loc);
|
||||
@ -1115,6 +1116,7 @@ function showExceptionAsError(err, msg:string) {
|
||||
}
|
||||
showErrorAlert([werr]);
|
||||
}
|
||||
}
|
||||
|
||||
var measureTimeStart : Date = new Date();
|
||||
var measureTimeLoad : Date;
|
||||
|
Loading…
Reference in New Issue
Block a user