From c2a5ac72b88f3e8e754dff8f201598b03172eae4 Mon Sep 17 00:00:00 2001 From: Kang Jung Kyo Date: Wed, 25 Sep 2024 13:17:07 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8B=A4=EC=9A=B4=EB=A1=9C=EB=93=9C=20?= =?UTF-8?q?=ED=95=A0=20=ED=8C=8C=EC=9D=BC=EC=9D=B4=20=EC=97=86=EB=8A=94=20?= =?UTF-8?q?=EA=B2=BD=EC=9A=B0=20Exception=20=EC=B2=98=EB=A6=AC=ED=95=98?= =?UTF-8?q?=EC=A7=80=20=EC=95=8A=EA=B3=A0=20=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../interplug/qcast/biz/excelDown/ExcelDownController.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/interplug/qcast/biz/excelDown/ExcelDownController.java b/src/main/java/com/interplug/qcast/biz/excelDown/ExcelDownController.java index 4b86b008..f583b441 100644 --- a/src/main/java/com/interplug/qcast/biz/excelDown/ExcelDownController.java +++ b/src/main/java/com/interplug/qcast/biz/excelDown/ExcelDownController.java @@ -67,7 +67,12 @@ public class ExcelDownController { @ResponseStatus(HttpStatus.OK) public void warrantyIssuedCmpFileDown(@RequestBody WrntIsncCmplRequest wrntIsncCmplRequest, HttpServletResponse response) throws Exception { - excelDownService.selectWarrantyIssuedCmpFileData(wrntIsncCmplRequest, response); + try { + excelDownService.selectWarrantyIssuedCmpFileData(wrntIsncCmplRequest, response); + } catch (Exception e) { + // 파일 이슈가 있어서 다운로드 되지 않도록 처리 + log.error(e.getMessage()); + } } }