}, { concurrency: REQUESTS_IN_PARALLEL })
.then(() => pods)
.catch(err => {
- logger.error('Some errors while quitting friends.', { err: err })
+ logger.error('Some errors while quitting friends.', err)
// Don't stop the process
})
})
return createRequest(options)
})
.catch(err => {
- logger.error('Cannot convert video to remote.', { error: err })
+ logger.error('Cannot convert video to remote.', err)
// Don't break the process
return undefined
})
sendOwnedVideosToPod(podCreated.id)
})
.catch(err => {
- logger.error('Cannot add friend %s pod.', pod.host, { error: err })
+ logger.error('Cannot add friend %s pod.', pod.host, err)
})
} else {
logger.error('Status not 200 for %s pod.', pod.host)