文件读取异常,不输入堆栈

This commit is contained in:
冷冷 committed 2020-02-24 20:03:22 +08:00
1 parent 801be657ad
commit 5247b128f9
1 file changed
+1 -1
@@ -91,7 +91,7 @@ public class SysFileServiceImpl extends ServiceImpl<SysFileMapper, SysFile> impl
response.setContentType("application/octet-stream; charset=UTF-8");
IoUtil.copy(inputStream, response.getOutputStream());
} catch (Exception e) {
log.error("文件读取异常", e);
log.error("文件读取异常: {}", e.getLocalizedMessage());
}
}