rm clone because panic
This commit is contained in:
@@ -917,7 +917,8 @@ impl<R, S> FreshHandler<R, S> {
|
||||
} => self.handle_register(protocol_version, data).await,
|
||||
ClientControlRequest::SupportedProtocol { .. } => {
|
||||
self.handle_reply_supported_protocol_request().await;
|
||||
return Ok((None, Some(child_span.clone())));
|
||||
let exit_span = info_span!("supported_protocol_request_handled");
|
||||
return Ok((None, Some(exit_span)));
|
||||
}
|
||||
_ => {
|
||||
debug!("received an invalid client request");
|
||||
@@ -957,7 +958,8 @@ impl<R, S> FreshHandler<R, S> {
|
||||
return Err(InitialAuthenticationError::EmptyClientDetails);
|
||||
};
|
||||
|
||||
Ok((Some(client_details), Some(child_span.clone())))
|
||||
let exit_span = info_span!("initial client request handled");
|
||||
Ok((Some(client_details), Some(exit_span)))
|
||||
}
|
||||
|
||||
#[instrument(skip_all)]
|
||||
|
||||
Reference in New Issue
Block a user