mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
Merge pull request #12704 from azat/abort-on-out_of_range
Abort on std::out_of_range in debug builds
This commit is contained in:
commit
7776adcfe1
@ -324,6 +324,13 @@ void TCPHandler::runImpl()
|
||||
sendException(*exception, send_exception_with_stack_trace);
|
||||
std::abort();
|
||||
}
|
||||
catch (const std::out_of_range & e)
|
||||
{
|
||||
state.io.onException();
|
||||
exception.emplace(Exception::CreateFromSTDTag{}, e);
|
||||
sendException(*exception, send_exception_with_stack_trace);
|
||||
std::abort();
|
||||
}
|
||||
#endif
|
||||
catch (const std::exception & e)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user