mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-09-03 06:19:37 +00:00
fix[storage]: does not expose the real error exception
This commit is contained in:
@@ -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