Commit c252d90
committed
fix(queue): remove the unreachable catch masking a disallowed reopen
The outer .catch() around maybeRecloseDisallowedReopen could never
actually fire — the lock claim/release fail open and every step in
recloseDisallowedReopenIfNeeded already catches its own errors — so
codecov/patch flagged it as an uncoverable line. Swallowing an
unexpected error there into a silent 'allowed' would have re-permitted
the exact disallowed reopen this guard exists to stop, so removing it
is also the safer behavior: let it propagate and retry.1 parent 8ab9ec6 commit c252d90
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3785 | 3785 | | |
3786 | 3786 | | |
3787 | 3787 | | |
| 3788 | + | |
| 3789 | + | |
| 3790 | + | |
| 3791 | + | |
| 3792 | + | |
3788 | 3793 | | |
3789 | 3794 | | |
3790 | 3795 | | |
| |||
3794 | 3799 | | |
3795 | 3800 | | |
3796 | 3801 | | |
3797 | | - | |
| 3802 | + | |
3798 | 3803 | | |
3799 | 3804 | | |
3800 | 3805 | | |
| |||
0 commit comments