in harry-core/src/harry/runner/HarryRunner.java [92:107]
public static File loadConfig(String... args) throws Exception {
if (args == null || args.length == 0) {
throw new Exception("Harry config YAML not provided.");
}
File configFile = new File(args[0]);
if (!configFile.exists()) {
throw new FileNotFoundException(configFile.getAbsolutePath());
}
if (!configFile.canRead()) {
throw new Exception("Cannot read config file, check your permissions on " + configFile.getAbsolutePath());
}
return configFile;
}