No longer hard crash datastore on unrecognised options

This commit is contained in:
Daniel J. Hofmann
2016-07-27 11:33:56 +02:00
parent c7a1576100
commit fb4834458e
4 changed files with 17 additions and 8 deletions
+1 -1
View File
@@ -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;