diff --git a/internal/cli/app.go b/internal/cli/app.go index 2442743a..24678ec2 100644 --- a/internal/cli/app.go +++ b/internal/cli/app.go @@ -1472,10 +1472,11 @@ func (a App) finishRun(ctx context.Context, r protocol.Message, o *options, call return err } if o.wait && r.RunDetail.Status != "succeeded" { - message := fmt.Sprintf("run %d ended %s", r.RunDetail.ID, r.RunDetail.Status) + message := fmt.Sprintf("run ended %s (run %d", r.RunDetail.Status, r.RunDetail.ID) if note := failureNote(r.RunDetail); note != "" { - message += " (" + note + ")" + message += ": " + note } + message += ")" if hint := waitingHint(r.RunDetail); hint != "" { message += "; " + hint }