aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/activitypub/process/process-update.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/activitypub/process/process-update.ts')
-rw-r--r--server/lib/activitypub/process/process-update.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/lib/activitypub/process/process-update.ts b/server/lib/activitypub/process/process-update.ts
index 24e5589d4..51e3cc4e3 100644
--- a/server/lib/activitypub/process/process-update.ts
+++ b/server/lib/activitypub/process/process-update.ts
@@ -92,7 +92,7 @@ async function updateRemoteVideo (actor: ActorModel, activity: ActivityUpdate) {
92 92
93 // Don't block on request 93 // Don't block on request
94 generateThumbnailFromUrl(videoInstance, videoAttributesToUpdate.icon) 94 generateThumbnailFromUrl(videoInstance, videoAttributesToUpdate.icon)
95 .catch(err => logger.warn('Cannot generate thumbnail of %s.', videoAttributesToUpdate.id, err)) 95 .catch(err => logger.warn('Cannot generate thumbnail of %s.', videoAttributesToUpdate.id, { err }))
96 96
97 // Remove old video files 97 // Remove old video files
98 const videoFileDestroyTasks: Bluebird<void>[] = [] 98 const videoFileDestroyTasks: Bluebird<void>[] = []
@@ -117,7 +117,7 @@ async function updateRemoteVideo (actor: ActorModel, activity: ActivityUpdate) {
117 } 117 }
118 118
119 // This is just a debug because we will retry the insert 119 // This is just a debug because we will retry the insert
120 logger.debug('Cannot update the remote video.', err) 120 logger.debug('Cannot update the remote video.', { err })
121 throw err 121 throw err
122 } 122 }
123} 123}
@@ -176,7 +176,7 @@ async function updateRemoteActor (actor: ActorModel, activity: ActivityUpdate) {
176 } 176 }
177 177
178 // This is just a debug because we will retry the insert 178 // This is just a debug because we will retry the insert
179 logger.debug('Cannot update the remote account.', err) 179 logger.debug('Cannot update the remote account.', { err })
180 throw err 180 throw err
181 } 181 }
182} 182}