Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static void loadConfig(String configFileName, Map<Object, Object> propert
try (InputStream input = getFileInputStream(configFileName)) {
loadConfig(input, properties);
} catch (Exception e) {
LOG.error("Error loading : ", e);
LOG.error("Error loading : {}", configFileName, e);
}
}

Expand Down Expand Up @@ -135,6 +135,9 @@ private static InputStream getFileInputStream(String path) throws FileNotFoundEx
}
}

if (ret == null) {
throw new FileNotFoundException(path + " is not found");
}
return ret;
}
}
Loading