chore[log]: more detailed logs

This commit is contained in:
godotg committed 2023-06-26 08:31:08 +08:00
1 parent 53a5866a30
commit 384da681a9
2 files changed
+2 -2

No files matched your search

@@ -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);
}
}
}