print msg when config.json is missing
This commit is contained in:
1 parent
f0e431bf6c
commit
5e9a09fc7d
1 file changed
+1
-1
@@ -17,7 +17,7 @@ public class ConfigLoader {
|
|||||||
objectMapper.findAndRegisterModules();
|
objectMapper.findAndRegisterModules();
|
||||||
return objectMapper.readValue(jsonString, Config.class);
|
return objectMapper.readValue(jsonString, Config.class);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
e.printStackTrace();
|
System.out.println("config.json missing");
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user