Commit e8d9a873 authored by xuepeng.chang's avatar xuepeng.chang

日志打印

parent 03706356
...@@ -208,7 +208,7 @@ public class WeChatController implements IBaseController { ...@@ -208,7 +208,7 @@ public class WeChatController implements IBaseController {
System.out.println(decodedString2); System.out.println(decodedString2);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); log.error("base64 error", e);
} }
} }
/** /**
......
...@@ -328,7 +328,7 @@ public class ModifyPhoneNoServiceImpl implements IModifyPhoneNoService { ...@@ -328,7 +328,7 @@ public class ModifyPhoneNoServiceImpl implements IModifyPhoneNoService {
} }
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); log.error("提交修改手机号失败",e);
throw new DataException(e.getMessage()); throw new DataException(e.getMessage());
} finally { } finally {
lock.unlock(); lock.unlock();
...@@ -366,7 +366,6 @@ public class ModifyPhoneNoServiceImpl implements IModifyPhoneNoService { ...@@ -366,7 +366,6 @@ public class ModifyPhoneNoServiceImpl implements IModifyPhoneNoService {
} }
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace();
log.error("金融来修改手机号失败--{}, 原因:---", JSONObject.toJSONString(modifyPhoneRecord), e); log.error("金融来修改手机号失败--{}, 原因:---", JSONObject.toJSONString(modifyPhoneRecord), e);
String failString = String.format("金融来修改手机号失败--%s", e.getMessage()); String failString = String.format("金融来修改手机号失败--%s", e.getMessage());
throw new DataException(failString); throw new DataException(failString);
...@@ -444,7 +443,6 @@ public class ModifyPhoneNoServiceImpl implements IModifyPhoneNoService { ...@@ -444,7 +443,6 @@ public class ModifyPhoneNoServiceImpl implements IModifyPhoneNoService {
} }
} }
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace();
log.error("用户端修改手机号失败--{}, 原因:---", JSONObject.toJSONString(modifyPhoneRecord), e); log.error("用户端修改手机号失败--{}, 原因:---", JSONObject.toJSONString(modifyPhoneRecord), e);
String failString = String.format("用户端修改手机号失败--%s", e.getMessage()); String failString = String.format("用户端修改手机号失败--%s", e.getMessage());
throw new DataException(failString); throw new DataException(failString);
......
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