scheduler error handling
This commit is contained in:
parent
b5c51e231b
commit
1a1363ef77
3 changed files with 7 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ export class Cyclist {
|
|||
}
|
||||
});
|
||||
} catch (e) {
|
||||
console.warn('scheduler error', e);
|
||||
console.warn('scheduler error: ', e.message);
|
||||
onError?.(e);
|
||||
}
|
||||
}, // called slightly before each cycle
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue