Skip to content
Snippets Groups Projects
Commit 9ec2bab3 authored by Leonard Kupper's avatar Leonard Kupper
Browse files

Add warning for default config use.

parent d378960b
No related branches found
No related tags found
1 merge request!28Bug/jar resource handling 49
......@@ -168,6 +168,7 @@ public final class App {
// Config Parsing
String configPath;
if (!settingsReader.isPresent(SettingType.PRINTER_CONFIG_PATH)) { // TODO: exception if missing this argument, until then use default location for test runs
mLogger.warn("ATTENTION! Using default specific config from resources. Please remove default config behavior before packaging the jar.");
configPath = getClass().getResource("/config/index_everest_d_v4.properties").getFile();
} else {
configPath = settingsReader.getSetting(SettingType.PRINTER_CONFIG_PATH).get();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment