misc: print full debug stack in browser debug console in case widget.errorProp() is not precise enough
This commit is contained in:
parent
899c40bdc2
commit
897db8108d
1 changed files with 1 additions and 0 deletions
|
|
@ -974,6 +974,7 @@ class Widget extends EventEmitter {
|
|||
if (widget.parent !== widgetManager && widget.parent.getProp('type') === 'clone') widget = widget.parent
|
||||
|
||||
console._error(`${id}.${name} ${type} error${line}: ${error}`)
|
||||
console.debug(error)
|
||||
uiConsole.log('error', `<span class="edit-widget" data-widget="${widget.builtIn ? widget.parent.hash : widget.hash}">${id}</span>.${name} ${type} error${line}: ${error}`, true)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue