diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-06-04 00:53:03 +0000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-06-04 00:53:03 +0000 |
| commit | a6ad24d9d4524ebef6ed40edf90c6597be876fbd (patch) | |
| tree | 390028656c505ee1b92d7297a937749562666a41 /internal/cli/status.go | |
| parent | 0d537df08fea539022cbcffe3ea778a3c84e7fb7 (diff) | |
cli: add --repository-url flag and improve error reporting
Diffstat (limited to 'internal/cli/status.go')
| -rw-r--r-- | internal/cli/status.go | 3 |
1 files changed, 3 insertions, 0 deletions
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() } |
