diff --git a/src/main/java/cokr/xit/foundation/web/WebClient.java b/src/main/java/cokr/xit/foundation/web/WebClient.java index 03114fb..3e4de48 100644 --- a/src/main/java/cokr/xit/foundation/web/WebClient.java +++ b/src/main/java/cokr/xit/foundation/web/WebClient.java @@ -130,7 +130,7 @@ public class WebClient { System.out.println(hresp.body()); }; private Consumer errorHandler = t -> { - System.out.println(t.getMessage()); + t.printStackTrace(System.err); }; public Config header(String key, String value) {