public ExcelWriterBuilder writeExcelOnException(Boolean writeExcelOnException) {
        writeWorkbook.setWriteExcelOnException(writeExcelOnException);
        return this;
    }
Excel is also written in the event of an exception being thrown.The default false.
fastexcel-core/src/main/java/cn/idev/excel/write/builder/ExcelWriterBuilder.java