warning logs
This commit is contained in:
@@ -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`
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user