sync problems: 1. always sync, 2. sync error msg

This commit is contained in:
life
2018-12-03 12:17:24 +08:00
parent 7db8453464
commit f59feee321
2 changed files with 4 additions and 2 deletions

View File

@@ -3700,7 +3700,7 @@ Note._getError = function(err, ret) {
var Err = {};
try {
if (err && typeof err == 'object') {
Err.err = err.toString();
Err.err = JSON.stringify(err)
}
} catch (e) {}
if (typeof ret == 'object' && 'Msg' in ret) {