!1112【代码优化】支付:微信支付退款时,日志记录发起微信支付异常信息
This commit is contained in:
parent
1753f2d1e4
commit
c6f67a5a02
|
@ -88,7 +88,7 @@ public abstract class AbstractWxPayClient extends AbstractPayClient<WxPayClientC
|
|||
throw new IllegalArgumentException(String.format("未知的 API 版本(%s)", config.getApiVersion()));
|
||||
}
|
||||
} catch (WxPayException e) {
|
||||
log.error("订单号:{} 发起微信支付异常", reqDTO.getOutTradeNo(), e);
|
||||
log.error("[doUnifiedOrder][退款({}) 发起微信支付异常", reqDTO, e);
|
||||
String errorCode = getErrorCode(e);
|
||||
String errorMessage = getErrorMessage(e);
|
||||
return PayOrderRespDTO.closedOf(errorCode, errorMessage,
|
||||
|
|
Loading…
Reference in New Issue