update server/src/main/java/cn/keking/utils/DownloadUtils.java.

调整下载报错

Signed-off-by: 高雄 <admin@cxcp.com>
This commit is contained in:
高雄
2023-03-20 07:26:23 +00:00
committed by Gitee
parent 058ebd8274
commit a867effa68

View File

@ -75,7 +75,7 @@ public class DownloadUtils {
response.setMsg(fileName);
return response;
} catch (IOException | GalimatiasParseException e) {
logger.error("文件下载失败url{}", urlStr, e);
logger.error("文件下载失败url{}", urlStr);
response.setCode(1);
response.setContent(null);
if (e instanceof FileNotFoundException) {