Commit 269ae9d
committed
fix: nil-check start_time element in _set_recheck (#1174)
Return a clear Result error when the start_time element is missing (insufficient role permissions) instead of crashing with AttributeError on NoneType.attrs.
Signed-off-by: SAY-5 <say.apm35@gmail.com>1 parent 99f152f commit 269ae9d
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
449 | 449 | | |
450 | 450 | | |
451 | 451 | | |
452 | | - | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
453 | 458 | | |
454 | 459 | | |
455 | 460 | | |
| |||
0 commit comments