mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-05-18 02:59:57 +00:00
chore[log]: more detailed logs
This commit is contained in:
@@ -90,7 +90,7 @@ public abstract class CsvReader {
|
||||
try {
|
||||
return CSVFormat.EXCEL.parse(new InputStreamReader(input));
|
||||
} catch (IOException e) {
|
||||
throw new RunException("Static resource [{}] is abnormal, and the file cannot be read", fileName);
|
||||
throw new RunException("Static csv resource [{}] is abnormal, and the file cannot be read", fileName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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, e);
|
||||
throw new RunException("Static excel resource [{}] is abnormal, and the file cannot be read", fileName, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user