mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
fixup
This commit is contained in:
parent
4089f761e1
commit
a4a23673cc
@ -313,16 +313,18 @@ void TCPHandler::runImpl()
|
||||
state.io.onException();
|
||||
exception.emplace(Exception::CreateFromPocoTag{}, e);
|
||||
}
|
||||
// Server should die on std logic errors in debug, like with assert()
|
||||
// or ErrorCodes::LOGICAL_ERROR. This helps catch these errors in
|
||||
// tests.
|
||||
#ifndef NDEBUG
|
||||
catch (const std::logic_error & e)
|
||||
{
|
||||
// Server should die on std logic errors in debug, like with assert()
|
||||
// or ErrorCodes::LOGICAL_ERROR. This helps catch these errors in
|
||||
// tests.
|
||||
state.io.onException();
|
||||
exception.emplace(Exception::CreateFromSTDTag{}, e);
|
||||
sendException(*exception, send_exception_with_stack_trace);
|
||||
assert(false);
|
||||
std::abort();
|
||||
}
|
||||
#endif
|
||||
catch (const std::exception & e)
|
||||
{
|
||||
state.io.onException();
|
||||
|
Loading…
Reference in New Issue
Block a user