fix: 修复用户登录报错无法显示到页面上的 bug
This commit is contained in:
parent
a483732635
commit
2da491a287
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue