forked from 0x2620/pandora
dont log errors in firefox extensions
This commit is contained in:
parent
fbc3b6f8b7
commit
90856174dd
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ appPanel
|
||||||
|
|
||||||
window.onerror = function(error, url, line) {
|
window.onerror = function(error, url, line) {
|
||||||
try {
|
try {
|
||||||
!isMSIE && pandora.api.log({
|
!isMSIE && !/^resource:/.test(url) && pandora.api.log({
|
||||||
text: error,
|
text: error,
|
||||||
url: url,
|
url: url,
|
||||||
line: line
|
line: line
|
||||||
|
|
Loading…
Reference in a new issue