Commit 27c60d2a authored by terrfly's avatar terrfly
Browse files

微信退款异常添加日志信息

parent 607145ec
...@@ -123,11 +123,13 @@ public class WxpayRefundService extends AbstractRefundService { ...@@ -123,11 +123,13 @@ public class WxpayRefundService extends AbstractRefundService {
} }
return channelRetMsg; return channelRetMsg;
} catch (WxPayException e) { } catch (WxPayException e) {
log.error("微信退款WxPayException异常: ", e);
ChannelRetMsg channelRetMsg = ChannelRetMsg.confirmFail(); ChannelRetMsg channelRetMsg = ChannelRetMsg.confirmFail();
WxpayKit.commonSetErrInfo(channelRetMsg, e); WxpayKit.commonSetErrInfo(channelRetMsg, e);
return channelRetMsg; return channelRetMsg;
} catch (Exception e) { } catch (Exception e) {
log.error("微信退款Exception异常: ", e);
return ChannelRetMsg.sysError(e.getMessage()); return ChannelRetMsg.sysError(e.getMessage());
} }
} }
...@@ -177,8 +179,10 @@ public class WxpayRefundService extends AbstractRefundService { ...@@ -177,8 +179,10 @@ public class WxpayRefundService extends AbstractRefundService {
} }
return channelRetMsg; return channelRetMsg;
} catch (WxPayException e) { } catch (WxPayException e) {
log.error("微信退款查询WxPayException异常: ", e);
return ChannelRetMsg.sysError(e.getReturnMsg()); return ChannelRetMsg.sysError(e.getReturnMsg());
} catch (Exception e) { } catch (Exception e) {
log.error("微信退款查询Exception异常: ", e);
return ChannelRetMsg.sysError(e.getMessage()); return ChannelRetMsg.sysError(e.getMessage());
} }
} }
......
Supports Markdown
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