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.
This commit is contained in:
Thomas Eizinger
2024-11-13 00:15:49 +00:00
committed by GitHub
parent fa40d6e852
commit 19dbff51f5

View File

@@ -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?;