From 7b44a4f21379225ada5cf0a74ee24852aaf81ea6 Mon Sep 17 00:00:00 2001 From: Michael McCandless Date: Wed, 25 Apr 2012 19:20:06 +0000 Subject: [PATCH] improve error message on unhandled href git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1330495 13f79535-47bb-0310-9956-ffa450edef68 --- dev-tools/scripts/checkJavadocLinks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tools/scripts/checkJavadocLinks.py b/dev-tools/scripts/checkJavadocLinks.py index 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 generics!! Seems to be a javadocs bug... (fixed in Java 7) pass else: - 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: