include path in url not error
This commit is contained in:
parent
4eff60e25f
commit
b46aa6625f
1 changed files with 2 additions and 2 deletions
|
@ -24,8 +24,8 @@ appPanel
|
|||
window.onerror = function(error, url, line) {
|
||||
try {
|
||||
!isMSIE && !/^resource:/.test(url) && pandora.api.log({
|
||||
text: error + ' (' + document.location.pathname + ')',
|
||||
url: url,
|
||||
text: error,
|
||||
url: document.location.pathname + ' at ' + url,
|
||||
line: line
|
||||
});
|
||||
} catch(e) {}
|
||||
|
|
Loading…
Reference in a new issue