Apache Lucene open-source search software
improve error message on unhandled href
Michael McCandless7b44a4f21379
diff --git a/dev-tools/scripts/checkJavadocLinks.py b/dev-tools/scripts/checkJavadocLinks.pyindex c8a0f3c71c6..651ffe82652 100644--- a/dev-tools/scripts/checkJavadocLinks.py+++ b/dev-tools/scripts/checkJavadocLinks.py@@ -68,7 +68,7 @@ class FindHyperlinks(HTMLParser):# LUCENE-4010: AttributeSource's javadocs has an unescaped <A> generics!! Seems to be a javadocs bug... (fixed in Java 7)passelse:- raise RuntimeError('BUG: %s' % attrs)+ raise RuntimeError('BUG: couldn\'t find an href nor name in link in %s: only got these attrs: %s' % (self.baseURL, attrs))def printFile(self):if not self.printed: