No longer hard crash datastore on unrecognised options
This commit is contained in:
@@ -130,7 +130,7 @@ inline unsigned generateServerProgramOptions(const int argc,
|
||||
.run(),
|
||||
option_variables);
|
||||
}
|
||||
catch (boost::program_options::error &e)
|
||||
catch (const boost::program_options::error &e)
|
||||
{
|
||||
util::SimpleLogger().Write(logWARNING) << "[error] " << e.what();
|
||||
return INIT_FAILED;
|
||||
|
||||
Reference in New Issue
Block a user