warning logs

This commit is contained in:
mfahampshire
2025-08-05 12:11:46 +02:00
parent 952fcdb2b3
commit 558df0975b
2 changed files with 6 additions and 1 deletions
@@ -921,13 +921,17 @@ impl<R, S> FreshHandler<R, S> {
span.set_parent(remote_context);
Some(span)
} else {
warn!("COULDN'T FIND TRACE_ID");
None
};
// Probably a nicer way to do this but for now just match
let _guard = match &span {
Some(s) => Some(s.enter()),
None => None,
None => {
warn!("COULDN'T ENTER SPAN");
None
}
};
// we can handle stateless client requests without prior authentication, like `ClientControlRequest::SupportedProtocol`
+1
View File
@@ -154,6 +154,7 @@ pub(crate) enum Commands {
/// Test local tracing for instrumentation and
/// TraceID aligmnet
// TODO this needs to just start and then wait for the shutdown signal - grab from run()
TestTracing,
}