Fix conflicts

This commit is contained in:
Frank Chen 2022-07-07 17:44:32 +08:00
parent 93dc109e36
commit 90efbc323d
2 changed files with 2 additions and 1 deletions

View File

@ -550,6 +550,7 @@ public:
const String & projection_name = {},
const String & view_name = {});
OpenTelemetryThreadTraceContextScopePtr startTracing(const std::string& name);
/// Supported factories for records in query_log
enum class QueryLogFactories

View File

@ -467,7 +467,7 @@ void TCPHandler::runImpl()
if (exception)
{
if (thread_trace_context)
thread_trace_context->root_span.addAttribute(exception.value());
thread_trace_context->root_span.addAttribute(*exception);
try
{