mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-16 21:40:23 +01:00
chore: additional logging
This commit is contained in:
@@ -16,7 +16,8 @@ inbox.create = async (req) => {
|
|||||||
|
|
||||||
if (postData) {
|
if (postData) {
|
||||||
await activitypub.notes.assert(1, [postData]);
|
await activitypub.notes.assert(1, [postData]);
|
||||||
await activitypub.notes.assertTopic(1, postData.pid);
|
const tid = await activitypub.notes.assertTopic(1, postData.pid);
|
||||||
|
winston.info(`[activitypub/inbox] Parsing note ${postData.pid} into topic ${tid}`);
|
||||||
} else {
|
} else {
|
||||||
winston.warn('[activitypub/inbox] Received object was not a note');
|
winston.warn('[activitypub/inbox] Received object was not a note');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user