fix[storage]: does not expose the real error exception

This commit is contained in:
jaysunxiao
2022-12-28 19:34:26 +08:00
parent 8dc27200c1
commit b9f5d4b8d5
@@ -105,7 +105,7 @@ public abstract class ExcelReader {
try {
return WorkbookFactory.create(input);
} catch (IOException e) {
throw new RunException("Static resource [{}] is abnormal, and the file cannot be read", fileName);
throw new RunException(e, "Static resource [{}] is abnormal, and the file cannot be read", fileName);
}
}