mirror of
https://github.com/sigmasternchen/Wish
synced 2025-03-15 07:28:56 +00:00
we don't need an error message on program exit
This commit is contained in:
parent
85e077bf55
commit
0874fd7176
1 changed files with 4 additions and 2 deletions
|
@ -171,8 +171,10 @@ Kernel.Scheduler.tick = function() {
|
|||
try {
|
||||
Kernel.Scheduler.jobs[Kernel.Scheduler.activ].tick();
|
||||
} catch (error) {
|
||||
console.log("Kernel: a wild error appeared in pid" + pid + ".tick:");
|
||||
console.dir(error);
|
||||
if ((typeof error) != "number") {
|
||||
console.log("Kernel: a wild error appeared in pid" + pid + ".tick:");
|
||||
console.dir(error);
|
||||
}
|
||||
}
|
||||
Kernel.time++;
|
||||
Kernel.Scheduler.working = false;
|
||||
|
|
Loading…
Reference in a new issue