mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-26 01:01:00 +00:00
parent
15159418df
commit
ae12aadd38
1 changed files with 2 additions and 1 deletions
|
@ -718,7 +718,8 @@ class Identity(StatorModel):
|
||||||
return False
|
return False
|
||||||
if response.status_code >= 400:
|
if response.status_code >= 400:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
f"Client error fetching actor: {response.status_code}", response.content
|
f"Client error fetching actor at {self.actor_uri}: {response.status_code}",
|
||||||
|
response.content,
|
||||||
)
|
)
|
||||||
document = canonicalise(response.json(), include_security=True)
|
document = canonicalise(response.json(), include_security=True)
|
||||||
if "type" not in document:
|
if "type" not in document:
|
||||||
|
|
Loading…
Reference in a new issue