From a6ad24d9d4524ebef6ed40edf90c6597be876fbd Mon Sep 17 00:00:00 2001 From: Peter Stone Date: Thu, 4 Jun 2026 00:53:03 +0000 Subject: cli: add --repository-url flag and improve error reporting --- internal/cli/status.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal/cli/status.go') diff --git a/internal/cli/status.go b/internal/cli/status.go index 77a30d5..ee787dd 100644 --- a/internal/cli/status.go +++ b/internal/cli/status.go @@ -59,6 +59,9 @@ func showStatus(id string) error { dur := e.EndTime.Sub(e.StartTime) fmt.Fprintf(w, " %.8s\t%s\t%d\t$%.4f\t%v\t%s\n", e.ID, e.Status, e.ExitCode, e.CostUSD, dur.Round(1e9), e.StartTime.Format("15:04:05")) + if e.ErrorMsg != "" { + fmt.Fprintf(w, " Error: %s\n", e.ErrorMsg) + } } w.Flush() } -- cgit v1.2.3