From b46aa6625f86fea35d3ff543b8314f49ae39f73f Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 22 Oct 2013 18:40:02 +0000 Subject: [PATCH] include path in url not error --- static/js/pandora.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/pandora.js b/static/js/pandora.js index 62d34c35..8d4e63fb 100644 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -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) {}