mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
clickhouse-client: fixed return code for poco exceptions [#CONV-2944].
This commit is contained in:
parent
b4222e65e3
commit
a5ee7a8a3d
@ -234,7 +234,7 @@ private:
|
||||
catch (const Poco::Exception & e)
|
||||
{
|
||||
std::cerr << "Poco::Exception: " << e.displayText() << std::endl;
|
||||
return e.code();
|
||||
return ErrorCodes::POCO_EXCEPTION;
|
||||
}
|
||||
catch (const std::exception & e)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user