log current url too
This commit is contained in:
parent
90856174dd
commit
967125cca7
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ appPanel
|
|||
window.onerror = function(error, url, line) {
|
||||
try {
|
||||
!isMSIE && !/^resource:/.test(url) && pandora.api.log({
|
||||
text: error,
|
||||
text: error + ' (' + document.location.pathname + ')',
|
||||
url: url,
|
||||
line: line
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue