print stack trace on catched JS errors too
This commit is contained in:
parent
2f85bd15e8
commit
7531aa8178
|
@ -62,5 +62,8 @@ function logError(e, file) {
|
|||
'If this is in a plugin try updating or disabling the plugin, ' +
|
||||
'if this is in a template try updating the template or switching to the "dokuwiki" template.',
|
||||
e.name, e.message, file);
|
||||
if(e.stack) {
|
||||
console.error(e.stack);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue