diff --git a/pkg/ide/browser-terminal.go b/pkg/ide/browser-terminal.go index 9ca8905cf1..f9f3a91983 100644 --- a/pkg/ide/browser-terminal.go +++ b/pkg/ide/browser-terminal.go @@ -87,10 +87,10 @@ func OpenBrowserTerminal(activeProfile config.Profile, workspaceId string, proje for { err := <-errChan - if err != nil { - // Log only in debug mode - // Connection errors to the forwarded port should not exit the process - log.Debug(err) + if err != nil { + // Log only in debug mode + // Connection errors to the forwarded port should not exit the process + log.Debug(err) } } }