Improve sync channel logging
This commit is contained in:
parent
d522369bed
commit
7ce2eac8fc
|
@ -76,7 +76,7 @@ export async function synchronizeChannel (options: {
|
||||||
|
|
||||||
await JobQueue.Instance.createJobWithChildren(parent, children)
|
await JobQueue.Instance.createJobWithChildren(parent, children)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
logger.error(`Failed to import channel ${channel.name}`, { err })
|
logger.error(`Failed to import ${externalChannelUrl} in channel ${channel.name}`, { err })
|
||||||
channelSync.state = VideoChannelSyncState.FAILED
|
channelSync.state = VideoChannelSyncState.FAILED
|
||||||
await channelSync.save()
|
await channelSync.save()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue