only:nicer logging

This commit is contained in:
rusefillc 2024-03-09 21:39:55 -05:00
parent 169d135abf
commit f96d9fdd64
1 changed files with 6 additions and 1 deletions

View File

@ -142,7 +142,12 @@ public class ConfigDefinition {
case EnumToString.KEY_ENUM_INPUT_FILE: {
String enumInputFile = args[i + 1];
enumInputFiles.add(enumInputFile);
state.read(new FileReader(RootHolder.ROOT + enumInputFile));
File file = new File(RootHolder.ROOT + enumInputFile);
try (Reader r = new FileReader(file)) {
state.read(r);
} catch (Throwable e) {
throw new IllegalStateException("Reading " + file.getAbsolutePath(), e);
}
}
break;
case "-ts_output_name":