MCPcopy Create free account
hub / github.com/ByConity/ByConity / processError

Function processError

programs/library-bridge/LibraryBridgeHandlers.cpp:42–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40namespace
41{
42 void processError(HTTPServerResponse & response, const String & message)
43 {
44 response.setStatusAndReason(HTTPResponse::HTTP_INTERNAL_SERVER_ERROR);
45
46 if (!response.sent())
47 *response.send() << message << std::endl;
48
49 LOG_WARNING(&Poco::Logger::get("LibraryBridge"), (message));
50 }
51
52 std::shared_ptr<Block> parseColumns(String && column_string)
53 {

Callers 2

handleRequestMethod · 0.85
handleRequestMethod · 0.85

Calls 3

sentMethod · 0.80
getFunction · 0.50
sendMethod · 0.45

Tested by

no test coverage detected