diff --git a/src/cmd/connect.go b/src/cmd/connect.go index adb9b45df3..8600d703a3 100644 --- a/src/cmd/connect.go +++ b/src/cmd/connect.go @@ -70,7 +70,7 @@ var connectCmd = &cobra.Command{ spinner.Updatef(lang.CmdConnectEstablishedWeb, tunnel.FullURL()) if err := exec.LaunchURL(tunnel.FullURL()); err != nil { - message.Debug(err) + return err } } diff --git a/src/pkg/packager/deploy.go b/src/pkg/packager/deploy.go index df6cec2ae2..86c2f43349 100644 --- a/src/pkg/packager/deploy.go +++ b/src/pkg/packager/deploy.go @@ -409,7 +409,7 @@ func (p *Packager) processComponentFiles(component v1alpha1.ZarfComponent, pkgLo // Check if the file looks like a text file isText, err := helpers.IsTextFile(subFile) if err != nil { - message.Debugf("unable to determine if file %s is a text file: %s", subFile, err) + return err } // If the file is a text file, template it