aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/activitypub/videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-06-08 16:19:09 +0200
committerChocobozzz <me@florianbigard.com>2021-06-08 16:22:23 +0200
commit9de33c6bd9580ab43cc7bc089c54b2fe2bdfd72d (patch)
tree795dd6b9fc53f8d50a212f1a052cca5719bf14a7 /server/lib/activitypub/videos
parent7ffa92d6e4e49fc81fc40489302c46ac84f94b92 (diff)
downloadPeerTube-9de33c6bd9580ab43cc7bc089c54b2fe2bdfd72d.tar.gz
PeerTube-9de33c6bd9580ab43cc7bc089c54b2fe2bdfd72d.tar.zst
PeerTube-9de33c6bd9580ab43cc7bc089c54b2fe2bdfd72d.zip
Add logs for refresh functions
Diffstat (limited to 'server/lib/activitypub/videos')
-rw-r--r--server/lib/activitypub/videos/refresh.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/lib/activitypub/videos/refresh.ts b/server/lib/activitypub/videos/refresh.ts
index 82b3b13bf..a7b82f286 100644
--- a/server/lib/activitypub/videos/refresh.ts
+++ b/server/lib/activitypub/videos/refresh.ts
@@ -22,6 +22,8 @@ async function refreshVideoIfNeeded (options: {
22 22
23 const lTags = loggerTagsFactory('ap', 'video', 'refresh', video.uuid, video.url) 23 const lTags = loggerTagsFactory('ap', 'video', 'refresh', video.uuid, video.url)
24 24
25 logger.info('Refreshing video %s.', video.url, lTags())
26
25 try { 27 try {
26 const { videoObject } = await fetchRemoteVideo(video.url) 28 const { videoObject } = await fetchRemoteVideo(video.url)
27 29