mirror of https://github.com/apache/lucene.git
print file path when we fail to parse HTML
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356520 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ea4d4cf670
commit
6a8d538b5a
|
@ -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 [], []
|
||||
|
|
Loading…
Reference in New Issue