mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-12 22:15:02 +00:00
fix[storage]: does not expose the real error exception
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user