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

This commit is contained in:
jaysunxiao committed 2022-12-28 19:34:26 +08:00
1 parent 8dc27200c1
commit b9f5d4b8d5
1 file changed
+1 -1
@@ -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);
}
}