Properly handle 404s in BitBucket API layer.
Review Request #7376 — Created June 4, 2015 and submitted — Latest diff uploaded
We weren't translating 404 errors into FileNotFound, which could result in
uncaught exceptions when trying to detect whether files existed.
Ran unit tests. The newly-added test fails without the exception handling with
the reported error, and succeeds after.
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.
orig
1
2
3
reviewboard/hostingsvcs/bitbucket.py |
---|