From 2b0abe9a5cb9e1ec075876edb2e134194c47dc7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?wbzl771398=E5=BC=A0=E7=A3=8A?= Date: Wed, 30 Jun 2021 15:46:13 +0800 Subject: [PATCH] =?UTF-8?q?initSheet=E8=BE=93=E5=87=BA=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/alibaba/excel/context/WriteContextImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/alibaba/excel/context/WriteContextImpl.java b/src/main/java/com/alibaba/excel/context/WriteContextImpl.java index c1f89f02..5af30cec 100644 --- a/src/main/java/com/alibaba/excel/context/WriteContextImpl.java +++ b/src/main/java/com/alibaba/excel/context/WriteContextImpl.java @@ -179,6 +179,7 @@ public class WriteContextImpl implements WriteContext { .setCachedSheet(writeWorkbookHolder.getCachedWorkbook().getSheet(writeSheetHolder.getSheetName())); } } catch (Exception e) { + LOGGER.error("initSheet exception ",e); currentSheet = createSheet(); } if (currentSheet == null) {