mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
MINOR Changed console.log() to console.error() in ajax error handling
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@62484 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
9e2de7ba7e
commit
b9a0a266cc
@ -491,7 +491,7 @@ function errorMessage(msg, fullMessage) {
|
|||||||
} catch(er) {
|
} catch(er) {
|
||||||
fullMessage = "";
|
fullMessage = "";
|
||||||
}
|
}
|
||||||
console.log(fullMessage);
|
console.error(fullMessage);
|
||||||
}
|
}
|
||||||
|
|
||||||
msg = msg.replace(/\n/g,'<br>');
|
msg = msg.replace(/\n/g,'<br>');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user