Browse Source

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

pull/754/head
Jiaju Zhuang 5 years ago
parent
commit
38e105f382
  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

@ -167,7 +167,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