bug修复

This commit is contained in:
guo 2024-04-13 10:04:08 +08:00
parent 5d1cf14e76
commit 80641bab78
2 changed files with 2 additions and 2 deletions

View File

@ -1657,7 +1657,7 @@ public class HikvisionCall {
try {
X509TrustManagerUtil.downLoadFromUrlHttps(url, fileName, basePath);
} catch (Exception e) {
e.printStackTrace();
log.error("下载图片失败,url:{}。>>>", url, e);
}
});
return fileName;

View File

@ -56,7 +56,7 @@ public class HikvisionUtil {
log.info("HikvisionUtil#doPost.getResponseResult:{}", responseStr);
} catch (Exception var10) {
isException = true;
var10.printStackTrace();
log.error("HikvisionUtil#doPost.error:{}", var10.getMessage(), var10);
if (hikvisionRequestRetryId == null) {
HikvisionRequestRetry entity = new HikvisionRequestRetry();
entity.setUrl(host + path);