Translate the whole site to English: English routes with 301 redirects from the Dutch paths, English UI, docs, seeds and captions, one-time live content migration
This commit is contained in:
@@ -43,11 +43,11 @@ async def check_repo_link(row):
|
||||
title = extract_title(response.headers.get("content-type", ""), body) if response.status_code < 400 else None
|
||||
status = f"http {response.status_code}"
|
||||
except UnsafeURL as exc:
|
||||
title, status = None, f"geweigerd: {exc}"
|
||||
title, status = None, f"refused: {exc}"
|
||||
except (httpx.HTTPError, OSError, SafeET.ParseError) as exc:
|
||||
title, status = None, f"fout: {type(exc).__name__}"
|
||||
title, status = None, f"error: {type(exc).__name__}"
|
||||
except Exception as exc:
|
||||
logger.warning("repo link check failed: %s", exc)
|
||||
title, status = None, f"fout: {type(exc).__name__}"
|
||||
title, status = None, f"error: {type(exc).__name__}"
|
||||
update_join_request(row["uid"], link_title=title, link_status=status, link_checked_at=now_iso())
|
||||
return {"status": status, "title": title}
|
||||
|
||||
Reference in New Issue
Block a user