aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/activitypub
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-10-02 09:04:19 +0200
committerChocobozzz <me@florianbigard.com>2018-10-02 09:04:19 +0200
commit792e5b8e5b731e15228dd5938bc2f99bb2e1070a (patch)
treed9290b11aea35934f653cb38fb1b3bf948b8a575 /server/lib/activitypub
parent913f08f2bd5b03c121ee65751e938e4faa27e7f1 (diff)
downloadPeerTube-792e5b8e5b731e15228dd5938bc2f99bb2e1070a.tar.gz
PeerTube-792e5b8e5b731e15228dd5938bc2f99bb2e1070a.tar.zst
PeerTube-792e5b8e5b731e15228dd5938bc2f99bb2e1070a.zip
Try to improve redundancy tests
Diffstat (limited to 'server/lib/activitypub')
-rw-r--r--server/lib/activitypub/videos.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/lib/activitypub/videos.ts b/server/lib/activitypub/videos.ts
index cd1bc4e06..54cea542f 100644
--- a/server/lib/activitypub/videos.ts
+++ b/server/lib/activitypub/videos.ts
@@ -396,6 +396,8 @@ async function refreshVideoIfNeeded (options: {
396 } 396 }
397 await retryTransactionWrapper(updateVideoFromAP, updateOptions) 397 await retryTransactionWrapper(updateVideoFromAP, updateOptions)
398 await syncVideoExternalAttributes(video, videoObject, options.syncParam) 398 await syncVideoExternalAttributes(video, videoObject, options.syncParam)
399
400 return video
399 } catch (err) { 401 } catch (err) {
400 logger.warn('Cannot refresh video %s.', options.video.url, { err }) 402 logger.warn('Cannot refresh video %s.', options.video.url, { err })
401 return video 403 return video