fix(ci): contextualize log-stream errors in job-view
When `anvil ci job-view` succeeded at fetching metadata but failed
streaming logs, the bare `Error: API error (...)` line at the bottom
made it look like the whole command had failed. Wrap the error so the
user sees what actually went wrong and that the metadata above was
fine:
Could not fetch logs: API error (500): ...
(Job metadata above was retrieved successfully.)
Closes #9
SHA:
fe06e284481f73160a86125c17925b79b223a7d6
Author:
CI <ci@anvil.test>
Date:
2026-05-07 16:44
Parents:
780d25c
1 files changed
+9
-1
| Type | ||
|---|---|---|
|
|
src/commands/ci.rs | +9 −1 |
|
||