From 90856174dd39a97c1cefd5cb347b149b259389ca Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 22 Oct 2013 13:59:27 +0000 Subject: [PATCH] dont log errors in firefox extensions --- static/js/pandora.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora.js b/static/js/pandora.js index 14e83ce1..c1ed337c 100644 --- a/static/js/pandora.js +++ b/static/js/pandora.js @@ -23,7 +23,7 @@ appPanel window.onerror = function(error, url, line) { try { - !isMSIE && pandora.api.log({ + !isMSIE && !/^resource:/.test(url) && pandora.api.log({ text: error, url: url, line: line