From 19dbff51f53c85be5fee681882d98dcd0130299f Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Wed, 13 Nov 2024 00:15:49 +0000 Subject: [PATCH] chore(gui-client): don't warn on sign-out while raising tunnel (#7327) All warnings triggered events in Sentry. This particular warning is of no concern, it simply means that the user clicked on "Sign out" while we were trying to set up the tunnel. Resolves: #7250. --- rust/gui-client/src-common/src/controller.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/gui-client/src-common/src/controller.rs b/rust/gui-client/src-common/src/controller.rs index 63088dcca..4247c1b0a 100644 --- a/rust/gui-client/src-common/src/controller.rs +++ b/rust/gui-client/src-common/src/controller.rs @@ -442,7 +442,7 @@ impl<'a, I: GuiIntegration> Controller<'a, I> { Status::Quitting => tracing::error!("Can't cancel sign-in while already quitting"), Status::TunnelReady{..} => tracing::error!("Can't cancel sign-in, the tunnel is already up. This is a logic error in the code."), Status::WaitingForTunnel { .. } => { - tracing::warn!( + tracing::debug!( "Connlib is already raising the tunnel, calling `sign_out` anyway" ); self.sign_out().await?;