Skip to content

Commit

Permalink
Always print the url if we have one (#4660)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehulkar committed Apr 21, 2023
1 parent 9066c95 commit 83332e9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cli/internal/runsummary/run_summary.go
Expand Up @@ -175,13 +175,12 @@ func (rsm *Meta) Close(ctx context.Context, exitCode int, workspaceInfos workspa
_ = spinner.WaitFor(ctx, record, rsm.ui, "...sending run summary...", 1000*time.Millisecond)
}()

// After the spinner is done
// After the spinner is done, print any errors and the url
if len(errs) > 0 {
rsm.ui.Warn("Errors recording run to Spaces")
for _, err := range errs {
rsm.ui.Warn(fmt.Sprintf("%v", err))
}
return nil
}

if url != "" {
Expand Down

0 comments on commit 83332e9

Please sign in to comment.