Added more logging

This commit is contained in:
Jeffrey Phillips Freeman 2023-10-09 11:38:14 -04:00
parent a9c2ea1557
commit 185db7d3fc
No known key found for this signature in database
GPG key ID: AD914585C9406B6A

View file

@ -95,6 +95,7 @@ export default async function (req: VercelRequest, res: VercelResponse) {
// Item will be an entity, i.e, { Create { Note } }
const response = await sendSignedRequest(actorInbox, <AP.Activity> item);
sendingIds.add(item.id)
console.log(`added to sendingIds: ${item.id}`)
console.log(`Send result: ${actorInbox}`, response.status, response.statusText, await response.text());
}
}