diff options
author | Chocobozzz <me@florianbigard.com> | 2021-06-08 16:19:09 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-08 16:22:23 +0200 |
commit | 9de33c6bd9580ab43cc7bc089c54b2fe2bdfd72d (patch) | |
tree | 795dd6b9fc53f8d50a212f1a052cca5719bf14a7 /server/lib/activitypub/playlists/refresh.ts | |
parent | 7ffa92d6e4e49fc81fc40489302c46ac84f94b92 (diff) | |
download | PeerTube-9de33c6bd9580ab43cc7bc089c54b2fe2bdfd72d.tar.gz PeerTube-9de33c6bd9580ab43cc7bc089c54b2fe2bdfd72d.tar.zst PeerTube-9de33c6bd9580ab43cc7bc089c54b2fe2bdfd72d.zip |
Add logs for refresh functions
Diffstat (limited to 'server/lib/activitypub/playlists/refresh.ts')
-rw-r--r-- | server/lib/activitypub/playlists/refresh.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/lib/activitypub/playlists/refresh.ts b/server/lib/activitypub/playlists/refresh.ts index ff9e5471a..6f3a6be37 100644 --- a/server/lib/activitypub/playlists/refresh.ts +++ b/server/lib/activitypub/playlists/refresh.ts | |||
@@ -10,6 +10,8 @@ async function refreshVideoPlaylistIfNeeded (videoPlaylist: MVideoPlaylistOwner) | |||
10 | 10 | ||
11 | const lTags = loggerTagsFactory('ap', 'video-playlist', 'refresh', videoPlaylist.uuid, videoPlaylist.url) | 11 | const lTags = loggerTagsFactory('ap', 'video-playlist', 'refresh', videoPlaylist.uuid, videoPlaylist.url) |
12 | 12 | ||
13 | logger.info('Refreshing playlist %s.', videoPlaylist.url, lTags()) | ||
14 | |||
13 | try { | 15 | try { |
14 | const { playlistObject } = await fetchRemoteVideoPlaylist(videoPlaylist.url) | 16 | const { playlistObject } = await fetchRemoteVideoPlaylist(videoPlaylist.url) |
15 | 17 | ||