This commit is contained in:
Nexus 2024-08-11 15:31:02 +01:00
parent 8ac52cdc88
commit 8a74538654

View file

@ -38,6 +38,7 @@ class MisskeyPreviewModule(niobot.Module):
self.log.info("Already sent 5 posts, stopping")
break
resp = await client.get("https://%s/api/v1/statuses/%s" % (parsed.netloc, post_id))
self.log.critiacl(resp)
if resp.status_code != 200:
self.log.error("Got HTTP %d from %s", resp.status_code, resp.url)
continue