From 19aa8a716868602b771a41e20299f188f789c254 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Sat, 30 Aug 2025 13:24:33 -0400 Subject: [PATCH] fix: display proper id if lock fails --- src/activitypub/notes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activitypub/notes.js b/src/activitypub/notes.js index ca58459b8d..52f5d373e3 100644 --- a/src/activitypub/notes.js +++ b/src/activitypub/notes.js @@ -59,7 +59,7 @@ Notes.assert = async (uid, input, options = { skipChecks: false }) => { let id = !activitypub.helpers.isUri(input) ? input.id : input; const lockStatus = await lock(id); if (!lockStatus) { // unable to achieve lock, stop processing. - winston.warn('[activitypub/notes.assert] Unable to acquire lock, skipping processing of', id); + winston.warn(`[activitypub/notes.assert] Unable to acquire lock, skipping processing of ${id}`); return null; }