Browse Source

修复多个头的情况下会读取数据为空

2.1.x
Jiaju Zhuang 5 years ago
parent
commit
ddabe77ddc
  1. 2
      src/main/java/com/alibaba/excel/read/metadata/holder/AbstractReadHolder.java

2
src/main/java/com/alibaba/excel/read/metadata/holder/AbstractReadHolder.java

@ -144,7 +144,7 @@ public abstract class AbstractReadHolder extends AbstractHolder implements ReadH
try { try {
readListenerException.onException(e, analysisContext); readListenerException.onException(e, analysisContext);
} catch (Exception exception) { } catch (Exception exception) {
throw new ExcelAnalysisException("Listen error!", exception); throw new ExcelAnalysisException(exception.getMessage(), exception);
} }
} }
break; break;

Loading…
Cancel
Save