Repository navigation
Commit 56f7b06
committed
fix(cli): surface a refusal body's own hint and size numbers
failHttp only echoed data.error, so an over-limit share pack (413 with
bytes, limitBytes and a server-authored hint) reached the terminal as
"HTTP 413: too-large" and lost both the numbers and the batching advice.
The command side must not grow a second error branch for it, and the
full report already reaches stdout-capable callers through --json's
rawJson passthrough.1 parent 8682e02 commit 56f7b06
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
249 | 261 | | |
250 | 262 | | |
251 | 263 | | |
| |||
0 commit comments