Fix webmention discovery
parent
a337b32bcd
commit
5d95fd44ac
|
@ -24,7 +24,7 @@ async def _discover_webmention_endoint(url: str) -> str | None:
|
||||||
follow_redirects=True,
|
follow_redirects=True,
|
||||||
)
|
)
|
||||||
resp.raise_for_status()
|
resp.raise_for_status()
|
||||||
except (httpx.HTTPError, httpx.HTTPStatusError):
|
except Exception:
|
||||||
logger.exception(f"Failed to discover webmention endpoint for {url}")
|
logger.exception(f"Failed to discover webmention endpoint for {url}")
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue