|
@@ -62,7 +62,7 @@ public class HttpClientBuilder {
|
|
|
sslContext.init(null, new TrustManager[]{new TrustAllCert()}, new SecureRandom());
|
|
|
return sslContext.getSocketFactory();
|
|
|
} catch (Exception e) {
|
|
|
- LOG.error(e.getMessage());
|
|
|
+ LOG.error(e.getMessage(), e);
|
|
|
throw new RuntimeException(e);
|
|
|
}
|
|
|
}
|
|
@@ -78,7 +78,7 @@ public class HttpClientBuilder {
|
|
|
|
|
|
throw new RuntimeException("download fail, url is " + url);
|
|
|
} catch (Exception e) {
|
|
|
- LOG.error(e.getMessage());
|
|
|
+ LOG.error(e.getMessage(), e);
|
|
|
throw new RuntimeException(e);
|
|
|
}
|
|
|
}
|