Commit a573972
committed
Handle additional error codes
It seems the 'detail' key referenced in commit d9c7ced is present for
404 cases. This means we can show a nice message for this particular
instance.
On the other hand, if there's a bug with the Patchwork server and a 5xx
code is raised, we should raise that promptly.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Closes: #1891 parent 8ad2d1e commit a573972
2 files changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
83 | 89 | | |
84 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
85 | 94 | | |
86 | 95 | | |
87 | 96 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments