rename error log api, fixes #2591
This commit is contained in:
parent
2f154aa610
commit
44ae4db25a
5 changed files with 18 additions and 18 deletions
|
|
@ -23,7 +23,7 @@ appPanel
|
|||
|
||||
window.onerror = function(error, url, line) {
|
||||
try {
|
||||
!isMSIE && !/^resource:/.test(url) && pandora.api.log({
|
||||
!isMSIE && !/^resource:/.test(url) && pandora.api.logError({
|
||||
text: error,
|
||||
url: document.location.pathname + ' at ' + url,
|
||||
line: line
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue