debugging
This commit is contained in:
@@ -55,18 +55,19 @@ void FlippRServer::parse_server_config_file()
|
||||
}
|
||||
catch(const std::exception e)
|
||||
{
|
||||
logger().information(FCYN("server_config.json not specified!"));
|
||||
Application::EXIT_USAGE;
|
||||
logger().error(FCYN("server_config.json not specified!"));
|
||||
exit(Application::EXIT_USAGE);
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
json = parser.parse(config).extract<Object::Ptr>();
|
||||
auto parse = parser.parse(config);
|
||||
json = parse.extract<Object::Ptr>();
|
||||
}
|
||||
catch(const std::exception e)
|
||||
{
|
||||
logger().information(e.what());
|
||||
Application::EXIT_IOERR;
|
||||
logger().error(e.what());
|
||||
exit(Application::EXIT_IOERR);
|
||||
}
|
||||
|
||||
logger().information(FCYN("Parsing server_config.json..."));
|
||||
|
||||
Reference in New Issue
Block a user