Commit bffac22f authored by Liang Ding's avatar Liang Ding

🔊 注册报错日志

parent e1590888
......@@ -217,7 +217,10 @@ public class OAuthGitHubProcessor {
try {
userMgmtService.addUser(addUserReq);
} catch (final Exception e) {
// ignored
LOGGER.log(Level.ERROR, "Register via oauth failed", e);
context.sendError(HttpServletResponse.SC_UNAUTHORIZED);
return;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment