未验证 提交 7776adcf 编写于 作者: A alexey-milovidov 提交者: GitHub

Merge pull request #12704 from azat/abort-on-out_of_range

Abort on std::out_of_range in debug builds
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册