Skip to content

Commit

Permalink
small error change
Browse files Browse the repository at this point in the history
  • Loading branch information
k-anshul committed Apr 3, 2024
1 parent e204b05 commit 17daa81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cmd/deploy/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func DeployFlow(ctx context.Context, ch *cmdutil.Helper, opts *Options) error {
if !ch.IsAuthenticated() {
err := loginWithTelemetryAndGithubRedirect(ctx, ch, "")
if err != nil {
return fmt.Errorf("Login failed with error: %s\n", err.Error())
return fmt.Errorf("login failed with error: %w", err)
}
silent = true
}
Expand Down

0 comments on commit 17daa81

Please sign in to comment.