Browse Source

initSheet输出错误信息

developing
wbzl771398张磊 3 years ago committed by seven4x
parent
commit
2b0abe9a5c
  1. 1
      src/main/java/com/alibaba/excel/context/WriteContextImpl.java

1
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) {

Loading…
Cancel
Save