refactor:增加日志打印
This commit is contained in:
parent
02790f5ad3
commit
e735411bc3
@ -203,7 +203,7 @@ public class HttpUtil {
|
|||||||
try (Response res = (proxy ? PROXY_CLIENT : CLIENT).newCall(request).execute()) {
|
try (Response res = (proxy ? PROXY_CLIENT : CLIENT).newCall(request).execute()) {
|
||||||
return parseResponse(res, typeClass);
|
return parseResponse(res, typeClass);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new CustomException(e);
|
throw new CustomException(request.url() + e.getLocalizedMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user