formula: don't throw errors when parsing fail (issue #145)
This commit is contained in:
parent
a24f8c53a7
commit
1d36b3b7ff
1 changed files with 2 additions and 3 deletions
|
|
@ -136,8 +136,7 @@ module.exports = class Formula extends Widget {
|
|||
|
||||
} catch(err) {
|
||||
|
||||
throw new Error('Error parsing formula "' + this.condition + '" (' + err + ')')
|
||||
|
||||
this.conditionState = false
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -157,7 +156,7 @@ module.exports = class Formula extends Widget {
|
|||
|
||||
} catch(err) {
|
||||
|
||||
throw new Error('Error parsing formula "' + this.formula + '" (' + err + ')')
|
||||
this.value = undefined
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue