mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-08-11 04:23:59 +00:00
chore: excel read exception log
This commit is contained in:
@@ -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