fix: sign/up 加入错误返回信息

This commit is contained in:
chaosBreaking
2019-08-31 23:15:40 +08:00
parent 55d77c03a3
commit b596ba5806

View File

@@ -93,9 +93,10 @@ module.exports = {
});
})
.catch(err => {
mylog.error(err);
res.json({
code: 3,
msg: err,
msg: JSON.stringify(err),
});
});
} else {