console: make built-in script error clickable
This commit is contained in:
parent
ac2f0d9950
commit
c28eadb6da
1 changed files with 1 additions and 1 deletions
|
|
@ -899,7 +899,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}`)
|
||||
uiConsole.log('error', `<span class="edit-widget" data-widget="${widget.hash}">${id}</span>.${name} ${type} error${line}: ${error}`, true)
|
||||
uiConsole.log('error', `<span class="edit-widget" data-widget="${widget.builtIn ? widget.parent.hash : widget.hash}">${id}</span>.${name} ${type} error${line}: ${error}`, true)
|
||||
}
|
||||
|
||||
setContainerStyles(styles = ['geometry', 'css', 'visibility']) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue