Skip to content

Commit

Permalink
chore: excel read exception log
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysunxiao committed Oct 19, 2024
1 parent 92fc58f commit dc1a196
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private static List<StorageHeader> getHeaders(Iterator<Row> iterator, String res
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);
}
}
Expand Down

0 comments on commit dc1a196

Please sign in to comment.