Commit 0e55198
committed
fix: don't wrap HTTPExceptions in generic 400 error
Root cause: except Exception caught HTTPException(403, REPO_TOO_LARGE)
and re-raised as HTTPException(400, str(e)) which produced '403: {...}'
Now HTTPExceptions are re-raised as-is so frontend gets proper 403 with
structured detail object.1 parent 26cc438 commit 0e55198
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
| 144 | + | |
143 | 145 | | |
144 | 146 | | |
145 | 147 | | |
| |||
0 commit comments