chore[log]: more detailed logs

This commit is contained in:
godotg
2023-06-26 08:31:08 +08:00
parent 53a5866a30
commit 384da681a9
2 changed files with 2 additions and 2 deletions
@@ -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);
}
}
}