diff options
Diffstat (limited to 'server/lib/activitypub/video-comments.ts')
-rw-r--r-- | server/lib/activitypub/video-comments.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/video-comments.ts b/server/lib/activitypub/video-comments.ts index b33ae27b1..8ab0cdba4 100644 --- a/server/lib/activitypub/video-comments.ts +++ b/server/lib/activitypub/video-comments.ts | |||
@@ -111,7 +111,7 @@ async function resolveThread (url: string, comments: VideoCommentModel[] = []) { | |||
111 | 111 | ||
112 | return { video, parents: comments } | 112 | return { video, parents: comments } |
113 | } catch (err) { | 113 | } catch (err) { |
114 | logger.debug('Cannot get or create account and video and channel for reply %s, fetch comment', url, err) | 114 | logger.debug('Cannot get or create account and video and channel for reply %s, fetch comment', url, { err }) |
115 | 115 | ||
116 | if (comments.length > ACTIVITY_PUB.MAX_RECURSION_COMMENTS) { | 116 | if (comments.length > ACTIVITY_PUB.MAX_RECURSION_COMMENTS) { |
117 | throw new Error('Recursion limit reached when resolving a thread') | 117 | throw new Error('Recursion limit reached when resolving a thread') |