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