Commit a29981d
committed
Make set_score silently fail if adj not in debate
This makes `VotingDebateResult.set_score(adjudicator, *args)` fail
silently if there isn't a scoresheet for `adjudicator`, which
(should) happen if the adjudicator isn't assigned to that debate.
It logs an exception, so the failure isn't completely silent, but
it doesn't alert the user immediately.
Relates to #922. I'm not yet sure if making this silently fail
might cause problems later.1 parent fdf8498 commit a29981d
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
547 | 546 | | |
548 | 547 | | |
549 | 548 | | |
| |||
0 commit comments