math/js: don't print 'error' when fail to ensure the property's output changes (#512)
This commit is contained in:
parent
d2f42db565
commit
64305b66ef
2 changed files with 1 additions and 3 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
- bug fixes
|
||||
- handle network drops correctly (notify immediately and fix reconnection mechanism)
|
||||
- matrix: regression the `$` variable
|
||||
- formulas breaking the property update mechanism when not resolved
|
||||
- modal: title layout issue
|
||||
|
||||
## 0.45.3
|
||||
|
|
|
|||
|
|
@ -605,7 +605,6 @@ class Widget extends EventEmitter {
|
|||
return typeof r != 'string' ? JSON.stringify(r) : r
|
||||
})
|
||||
} catch (err) {
|
||||
propValue = 'ERROR (F12)'
|
||||
console.log((this.getProp('id') || this.props.id) + '.' + propName + ': #{} error:\n' + err)
|
||||
}
|
||||
|
||||
|
|
@ -622,7 +621,6 @@ class Widget extends EventEmitter {
|
|||
|
||||
})
|
||||
} catch (err) {
|
||||
propValue = 'ERROR (F12)'
|
||||
var stackline = err.stack ? (err.stack.match(/>:([0-9]+):[0-9]+/) || '') : '',
|
||||
line = stackline.length > 1 ? ' at line ' + (parseInt(stackline[1]) - 2) : ''
|
||||
console.log((this.getProp('id') || this.props.id) + '.' + propName + ': JS{{}} error:\n' + err + line)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue