Fix AttributeError when trying to accessing invalid diff fragment.
Review Request #6089 — Created July 9, 2014 and submitted
Information | |
---|---|
elatt | |
Review Board | |
master | |
3473 | |
c9d805d... | |
Reviewers | |
reviewboard | |
When browsing to an invalid FileDiff via, we would raise a 404
exception but this was getting caught prematurely and eventually
causing a server error. This change simply passes Http404 errors
back up the stack.
No unit tests for this but it would seem trivial to implement.