script: uncaught exceptions in timeout callbacks

This commit is contained in:
jean-emmanuel 2021-10-07 11:16:36 +02:00
parent 11c3e3324e
commit 99b043433d

View file

@ -318,7 +318,7 @@ class ScriptVm extends Vm {
try {
callback()
} catch(e) {
this.errorProp('script', 'setTimeout', e)
widget.errorProp('script', 'setTimeout', e)
}
this.setWidget()
this.setValueOptions()