script-vm: setInterval callback error handling

This commit is contained in:
jean-emmanuel 2022-01-24 12:05:05 +01:00
parent 41237d5bc8
commit 05aa6bf998

View file

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