onError 수정

master
mjkhan21 1 year ago
parent bf9c98ef35
commit 183e982ce1

@ -130,7 +130,7 @@ public class WebClient {
System.out.println(hresp.body()); System.out.println(hresp.body());
}; };
private Consumer<Throwable> errorHandler = t -> { private Consumer<Throwable> errorHandler = t -> {
System.out.println(t.getMessage()); t.printStackTrace(System.err);
}; };
public Config header(String key, String value) { public Config header(String key, String value) {

Loading…
Cancel
Save