Skip to content

Apache Lucene open-source search software

print file path when we fail to parse HTML

Michael McCandless6a8d538b5a23
diff --git a/dev-tools/scripts/checkJavadocLinks.py b/dev-tools/scripts/checkJavadocLinks.py
index 4fa1ac188c0..c5829af063c 100644
--- a/dev-tools/scripts/checkJavadocLinks.py
+++ b/dev-tools/scripts/checkJavadocLinks.py
@@ -85,7 +85,7 @@ def parse(baseURL, html):
parser.close()
except HTMLParseError:
parser.printFile()
- print ' WARNING: failed to parse:'
+ print ' WARNING: failed to parse %s:' % baseURL
traceback.print_exc()
failures = True
return [], []