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

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

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