Skip to content

Commit

Permalink
MCR-3219 warn if configuration directory does not exist
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteph-de committed Nov 19, 2024
1 parent 65d573b commit c23652b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ public static MCRConfigurationInputStream getMyCoRePropertiesInstance() throws I
LogManager.getLogger().info("Current configuration directory: {}",
configurationDirectory.getAbsolutePath());
// set MCR.basedir, is normally overwritten later
if (!configurationDirectory.isDirectory()) {
LogManager.getLogger().warn("Current configuration directory does not exist: {}",
configurationDirectory.getAbsolutePath());
}
initStream = getBaseDirInputStream(configurationDirectory);
}
return new MCRConfigurationInputStream(MYCORE_PROPERTIES, initStream);
Expand Down

0 comments on commit c23652b

Please sign in to comment.