forked from 0x2620/pandora
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) {
|
window.onerror = function(error, url, line) {
|
||||||
try {
|
try {
|
||||||
!isMSIE && !/^resource:/.test(url) && pandora.api.log({
|
!isMSIE && !/^resource:/.test(url) && pandora.api.log({
|
||||||
text: error,
|
text: error + ' (' + document.location.pathname + ')',
|
||||||
url: url,
|
url: url,
|
||||||
line: line
|
line: line
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue