mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-02-01 19:24:57 +08:00
【优化】日志记录发起微信支付异常信息
Signed-off-by: 杨宇庆 <hiyyq@qq.com>
This commit is contained in:
parent
7fbdf24bca
commit
c3e1374b1e
@ -88,6 +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);
|
||||
String errorCode = getErrorCode(e);
|
||||
String errorMessage = getErrorMessage(e);
|
||||
return PayOrderRespDTO.closedOf(errorCode, errorMessage,
|
||||
|
Loading…
Reference in New Issue
Block a user