Commit a688d2e
committed
Fix CreateLabelForLabelset signature and quiet permission-denial logs
- Make optional GraphQL arguments (text/description/color/icon/label_type)
default to None on the Python side so resolver invocations matching
the schema (which marks them required=False) no longer raise
'missing positional arguments'.
- Catch LabelSet.DoesNotExist separately in
RemoveLabelsFromLabelsetMutation to log the legitimate auth-deny path
at WARNING level without a stack trace, instead of routing it through
the catch-all except Exception (which used logger.exception).1 parent cb1ea77 commit a688d2e
1 file changed
Lines changed: 21 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
222 | 231 | | |
223 | 232 | | |
224 | 233 | | |
| |||
310 | 319 | | |
311 | 320 | | |
312 | 321 | | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
313 | 333 | | |
314 | 334 | | |
315 | 335 | | |
| |||
0 commit comments