Closed jelmer closed 2 years ago
Why aren’t actions running? :(
Can you please rebase latest master
WDYT about having the tuple (KeyError, SymrefLoop)
defined as a constant somewhere and using that instead of repeating the list of exceptions everywhere? Could also have a short comment there what’s SymrefLoop.
WDYT about having the tuple
(KeyError, SymrefLoop)
defined as a constant somewhere and using that instead of repeating the list of exceptions everywhere? Could also have a short comment there what’s SymrefLoop.
Happy to define a shorthand for those two places where we catch both (InaccessibleRef, perhaps?). That said, I'm wary of using that everywhere - e.g. in views.py where a message to the user saying a ref doesn't exist is quite different from saying the ref is broken.
Updated.
Perfect!
Handle SymrefLoop. Fixes: #293