Commit bf1a93c
committed
Address review: dedicated DoesNotExist handler, stable error msgs, CHANGELOG split
- CreateLabelForLabelsetMutation now matches Remove's exception handling: explicit LabelSet.DoesNotExist branch logs at WARNING (no stack trace) and falls through to a clean 'matching query does not exist' message, while the catch-all uses logger.exception() for genuine errors.
- Both mutations now build the deny-path message from a stable string instead of instantiating a DoesNotExist purely to call its __str__ (Django version coupling).
- Split the long CHANGELOG entry into two focused bullets, one per mutation, matching the per-fix style of the surrounding entries.1 parent 4181b86 commit bf1a93c
2 files changed
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
285 | 297 | | |
| 298 | + | |
286 | 299 | | |
287 | 300 | | |
288 | 301 | | |
| |||
336 | 349 | | |
337 | 350 | | |
338 | 351 | | |
339 | | - | |
| 352 | + | |
| 353 | + | |
340 | 354 | | |
341 | 355 | | |
342 | 356 | | |
| |||
0 commit comments