mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-11 03:13:51 +00:00
chore: excel read exception log
This commit is contained in:
1 parent
92fc58fcd0
commit
dc1a196714
1 file changed
+1
-1
@@ -110,7 +110,7 @@ public abstract class ExcelReader {
|
||||
private static Workbook createWorkbook(InputStream input, String fileName) {
|
||||
try {
|
||||
return WorkbookFactory.create(input);
|
||||
} catch (IOException e) {
|
||||
} catch (Exception e) {
|
||||
throw new RunException("Static excel resource [{}] is abnormal, and the file cannot be read", fileName, e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user