Browse Source

added debug output

drop_old_mail
Stephan Richter 2 years ago
parent
commit
3e5a739052
  1. 2
      pom.xml
  2. 1
      src/main/java/de/srsoftware/widerhall/Configuration.java

2
pom.xml

@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
<groupId>org.example</groupId>
<artifactId>Widerhall</artifactId>
<version>0.2.5</version>
<version>0.2.6</version>
<build>
<plugins>
<plugin>

1
src/main/java/de/srsoftware/widerhall/Configuration.java

@ -33,6 +33,7 @@ public class Configuration { @@ -33,6 +33,7 @@ public class Configuration {
public Configuration load(File file) {
this.file = file;
if (file.exists()) try {
LOG.info("Loading configuration from {}",file);
var newVals = (JSONObject) new JSONParser().parse(Files.readString(file.toPath()));
data.putAll(newVals);
} catch (ParseException | IOException e){

Loading…
Cancel
Save