fix: 修复用户登录报错无法显示到页面上的 bug

This commit is contained in:
Captain.B 2020-07-14 18:36:51 +08:00
parent a483732635
commit 2da491a287
1 changed files with 2 additions and 1 deletions

View File

@ -532,6 +532,7 @@ public class UserService {
} catch (UnauthorizedException e) {
msg = Translator.get("not_authorized") + e.getMessage();
}
return ResultHolder.error(msg);
MSException.throwException(msg);
return null;
}
}