added debug output
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>org.example</groupId>
|
||||
<artifactId>Widerhall</artifactId>
|
||||
<version>0.2.5</version>
|
||||
<version>0.2.6</version>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
||||
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user