优化:添加日志

This commit is contained in:
陈精华
2020-05-14 10:11:15 +08:00
committed by kl
parent 9cc0267619
commit 59ac8effc1
9 changed files with 31 additions and 33 deletions

View File

@ -84,7 +84,7 @@ public class DownloadUtils {
}
return response;
} catch (IOException e) {
LOGGER.error("文件下载失败", e);
LOGGER.error("文件下载失败url{}", urlAddress, e);
response.setCode(1);
response.setContent(null);
if (e instanceof FileNotFoundException) {