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) {
|
||||
try {
|
||||
!isMSIE && pandora.api.log({
|
||||
!isMSIE && !/^resource:/.test(url) && pandora.api.log({
|
||||
text: error,
|
||||
url: url,
|
||||
line: line
|
||||
|
|
Loading…
Reference in a new issue