mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix broken url not reporting error
Some links are printed as broken but do not error out the build. This issue appeared when include `tel:` links in our build.
This commit is contained in:
parent
3b1c48f3b6
commit
72985c250b
@ -226,6 +226,7 @@ class CheckExternalLinksBuilder(Builder):
|
||||
if rex.match(uri):
|
||||
return 'ignored', '', 0
|
||||
else:
|
||||
self.broken[uri] = ''
|
||||
return 'broken', '', 0
|
||||
elif uri in self.good:
|
||||
return 'working', 'old', 0
|
||||
|
Loading…
Reference in New Issue
Block a user