flake8
passed.
JSHint
passed.
Review Request #9917 — Created May 8, 2018 and submitted
Web crawlers have a nasty habit of trying to index diff fragments
(somehow), and don't always pass in all the right data in the URL. When
we encounter the unsurprising errors, we'd try to show a link to the
patch bundle, but reversing this URL would fail.This change works around that by catching the
NoReverseMatch
and just
including an empty link instead.
Ran unit tests.