Remove catching boost::program_options error in Client

This commit is contained in:
avogar 2021-10-14 16:36:32 +03:00
parent a1a4df2501
commit ba7b784646

View File

@ -1230,11 +1230,6 @@ int mainEntryClickHouseClient(int argc, char ** argv)
client.init(argc, argv);
return client.run();
}
catch (const boost::program_options::error & e)
{
std::cerr << "Bad arguments: " << e.what() << std::endl;
return 1;
}
catch (const DB::Exception & e)
{
std::cerr << DB::getExceptionMessage(e, false) << std::endl;