fix log
This commit is contained in:
parent
a1c044f079
commit
3e12cfd0b8
2
main.js
2
main.js
@ -316,7 +316,7 @@ main.prototype.setMainTipsText = function (text) {
|
||||
main.prototype.log = function (e) {
|
||||
if (e) {
|
||||
if (main.core && main.core.platform && !main.core.platform.isPC) {
|
||||
console.log((e.stack || e.toString()).replace("\n", " --- "));
|
||||
console.log((e.stack || e.toString()));
|
||||
}
|
||||
else {
|
||||
console.log(e);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user