print msg when config.json is missing
This commit is contained in:
parent
f0e431bf6c
commit
5e9a09fc7d
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user