MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / getExceptionMessageForLogging

Function getExceptionMessageForLogging

src/Common/Exception.cpp:641–645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

639}
640
641std::string getExceptionMessageForLogging(Exception & e, bool with_stacktrace, bool check_embedded_stacktrace)
642{
643 e.markAsLogged();
644 return getExceptionMessageAndPattern(e, with_stacktrace, check_embedded_stacktrace).text;
645}
646
647PreformattedMessage getExceptionMessageAndPattern(const Exception & e, bool with_stacktrace, bool check_embedded_stacktrace)
648{

Callers 13

processErrorMethod · 0.85
mainMethod · 0.85
connectMethod · 0.85
processOptionsMethod · 0.85
processQueryTextMethod · 0.85
mainEntryClickHouseDisksFunction · 0.85
processErrorMethod · 0.85
mainMethod · 0.85
mainEntryClickHouseLocalFunction · 0.85

Calls 2

markAsLoggedMethod · 0.80

Tested by

no test coverage detected