feat: ApacheHttpclient 异常抛出详情

main
13009 2024-05-20 14:06:51 +08:00
parent ba41d0cfb3
commit 2eac75d561
1 changed files with 1 additions and 4 deletions

View File

@ -49,9 +49,6 @@ public abstract class AbstractApiClient implements ApiClient {
* 3.
* 4.
*
* @param request HttpRequest
* @param responseClass responseClass
* @param <T> Model
* @return HttpResponse
*/
@Override
@ -68,7 +65,7 @@ public abstract class AbstractApiClient implements ApiClient {
// 实际调用
originalResponse = doRemoteExecute(newRequest);
} catch (Exception e) {
httpLogger.logRemoteError(newRequest, e.getMessage());
httpLogger.logDoRemoteExecuteError(newRequest, e);
throw new ApiClientException(e);
} finally {
watch.stop();