We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04145ef commit 030fe7dCopy full SHA for 030fe7d
command/src/com/mirth/connect/cli/CommandLineInterface.java
@@ -166,7 +166,8 @@ private void run(String[] args) {
166
} catch (ConfigurationException cex) {
167
// loading of the configuration file failed
168
if (line.hasOption("c")) {
169
- error("We could not find the file: " + line.getOptionValue("c"), null);
+ // An explicit configuration file was specified with -c; fail fast with a clear error
170
+ error("Failed to load the configuration file specified with -c: " + line.getOptionValue("c"), cex);
171
System.exit(2);
172
}
173
error("Loading configuration failed.", null);
0 commit comments