@@ -286,7 +286,7 @@ public synchronized <T, E> T executeInternal(RequestExecutor<T, E> executor, Str
286
286
287
287
try {
288
288
T result = executor .execute (uriWithAccessToken , data );
289
- this .log .debug ("\n [URL]: {}\n [PARAMS]: {}\n [RESPONSE]: {}" , uriWithAccessToken , data , result );
289
+ this .log .debug ("\n 【请求地址】: {}\n 【请求参数】: {}\n 【响应数据】: {}" , uriWithAccessToken , data , result );
290
290
return result ;
291
291
} catch (WxErrorException e ) {
292
292
WxError error = e .getError ();
@@ -305,12 +305,12 @@ public synchronized <T, E> T executeInternal(RequestExecutor<T, E> executor, Str
305
305
}
306
306
307
307
if (error .getErrorCode () != 0 ) {
308
- this .log .error ("\n [URL]: {}\n [PARAMS]: {}\n [RESPONSE]: {}" , uriWithAccessToken , data , error );
308
+ this .log .error ("\n 【请求地址】: {}\n 【请求参数】: {}\n 【错误信息】: {}" , uriWithAccessToken , data , error );
309
309
throw new WxErrorException (error );
310
310
}
311
311
return null ;
312
312
} catch (IOException e ) {
313
- this .log .error ("\n [URL]: {}\n [PARAMS]: {}\n [EXCEPTION]: {}" , uriWithAccessToken , data , e .getMessage ());
313
+ this .log .error ("\n 【请求地址】: {}\n 【请求参数】: {}\n 【异常信息】: {}" , uriWithAccessToken , data , e .getMessage ());
314
314
throw new RuntimeException (e );
315
315
}
316
316
}
0 commit comments