mirror of
https://git.qoto.org/fedipage/fedipage.git
synced 2024-11-15 19:47:57 +01:00
Added even more logging
This commit is contained in:
parent
2b21d56f95
commit
d0387a3b63
1 changed files with 2 additions and 2 deletions
|
@ -94,9 +94,8 @@ export default async function (req: VercelRequest, res: VercelResponse) {
|
||||||
|
|
||||||
// Item will be an entity, i.e, { Create { Note } }
|
// Item will be an entity, i.e, { Create { Note } }
|
||||||
const response = await sendSignedRequest(actorInbox, <AP.Activity> item);
|
const response = await sendSignedRequest(actorInbox, <AP.Activity> item);
|
||||||
console.log(`Send result: ${actorInbox}`, response.status, response.statusText, await response.text());
|
|
||||||
|
|
||||||
sendingIds.add(item.id)
|
sendingIds.add(item.id)
|
||||||
|
console.log(`Send result: ${actorInbox}`, response.status, response.statusText, await response.text());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (ex) {
|
} catch (ex) {
|
||||||
|
@ -104,6 +103,7 @@ export default async function (req: VercelRequest, res: VercelResponse) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log("loop exited")
|
||||||
console.log(`adding sentIds to sendingIds: ${sendingIds}`, ...sentIds);
|
console.log(`adding sentIds to sendingIds: ${sendingIds}`, ...sentIds);
|
||||||
sendingIds.add(...sentIds);
|
sendingIds.add(...sentIds);
|
||||||
console.log(`added sentIds: ${sendingIds}`)
|
console.log(`added sentIds: ${sendingIds}`)
|
||||||
|
|
Loading…
Reference in a new issue