diff options
author | Chocobozzz <me@florianbigard.com> | 2022-12-28 16:11:11 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-12-28 16:11:11 +0100 |
commit | 7ce2eac8fca8ea373a0e61a9a0348a8568b76b16 (patch) | |
tree | 3d7856f20c8e945b043b73e9f5e762288025402c /server/lib/sync-channel.ts | |
parent | d522369bed42b0eb951fce403373602c4ec447da (diff) | |
download | PeerTube-7ce2eac8fca8ea373a0e61a9a0348a8568b76b16.tar.gz PeerTube-7ce2eac8fca8ea373a0e61a9a0348a8568b76b16.tar.zst PeerTube-7ce2eac8fca8ea373a0e61a9a0348a8568b76b16.zip |
Improve sync channel logging
Diffstat (limited to 'server/lib/sync-channel.ts')
-rw-r--r-- | server/lib/sync-channel.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/sync-channel.ts b/server/lib/sync-channel.ts index 10167ee38..3a805a943 100644 --- a/server/lib/sync-channel.ts +++ b/server/lib/sync-channel.ts | |||
@@ -76,7 +76,7 @@ export async function synchronizeChannel (options: { | |||
76 | 76 | ||
77 | await JobQueue.Instance.createJobWithChildren(parent, children) | 77 | await JobQueue.Instance.createJobWithChildren(parent, children) |
78 | } catch (err) { | 78 | } catch (err) { |
79 | logger.error(`Failed to import channel ${channel.name}`, { err }) | 79 | logger.error(`Failed to import ${externalChannelUrl} in channel ${channel.name}`, { err }) |
80 | channelSync.state = VideoChannelSyncState.FAILED | 80 | channelSync.state = VideoChannelSyncState.FAILED |
81 | await channelSync.save() | 81 | await channelSync.save() |
82 | } | 82 | } |