rename error log api, fixes #2591

This commit is contained in:
j 2014-12-16 13:44:42 +00:00
commit 44ae4db25a
5 changed files with 18 additions and 18 deletions

View file

@ -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