]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/activitypub/video-comments.ts
Truncate correctly video descriptions
[github/Chocobozzz/PeerTube.git] / server / lib / activitypub / video-comments.ts
index b33ae27b19ddcc7a4d51b2bcd5a6c45543d5671d..8ab0cdba4211de4615350eb76e9d0ba11ffe2fc4 100644 (file)
@@ -111,7 +111,7 @@ async function resolveThread (url: string, comments: VideoCommentModel[] = []) {
 
     return { video, parents: comments }
   } catch (err) {
-    logger.debug('Cannot get or create account and video and channel for reply %s, fetch comment', url, err)
+    logger.debug('Cannot get or create account and video and channel for reply %s, fetch comment', url, { err })
 
     if (comments.length > ACTIVITY_PUB.MAX_RECURSION_COMMENTS) {
       throw new Error('Recursion limit reached when resolving a thread')