Also catch host-meta parse errors

This commit is contained in:
Andrew Godwin 2022-12-24 10:56:22 -07:00
parent 96e95da73f
commit a7bbbb5663
1 changed files with 1 additions and 1 deletions

View File

@ -583,7 +583,7 @@ class Identity(StatorModel):
)
if template:
webfinger_url = template
except httpx.RequestError:
except (httpx.RequestError, etree.ParseError):
pass
try: