Commit 6ad2f1a2 by WeiCong

增加验证码绘制异常的日志记录

parent 09a935ac
package org.sss.presentation.noui.controller;
import cn.com.brilliance.eibs.auth.DatabaseLoginContextForELCS;
import log.Log;
import log.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
......@@ -100,6 +101,7 @@ public class VerifyCodeCreateController {
ImageIO.write(bi, "JPG", response.getOutputStream());
} catch (Exception e) {
log.error("绘制登陆验证码异常", e);
DatabaseLoginContextForELCS.recordException("ESFEERROR2", "验证码刷新异常:" + e.getMessage(), "ERROR");
} finally {
if (g != null) {
g.dispose();
......
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