log current url too

This commit is contained in:
j 2013-10-22 14:15:06 +00:00
parent 90856174dd
commit 967125cca7

View file

@ -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
}); });