diff options
Diffstat (limited to 'server/lib/friends.ts')
-rw-r--r-- | server/lib/friends.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/lib/friends.ts b/server/lib/friends.ts index c24839cb6..3487addbe 100644 --- a/server/lib/friends.ts +++ b/server/lib/friends.ts | |||
@@ -180,7 +180,7 @@ function quitFriends () { | |||
180 | }, { concurrency: REQUESTS_IN_PARALLEL }) | 180 | }, { concurrency: REQUESTS_IN_PARALLEL }) |
181 | .then(() => pods) | 181 | .then(() => pods) |
182 | .catch(err => { | 182 | .catch(err => { |
183 | logger.error('Some errors while quitting friends.', { err: err }) | 183 | logger.error('Some errors while quitting friends.', err) |
184 | // Don't stop the process | 184 | // Don't stop the process |
185 | }) | 185 | }) |
186 | }) | 186 | }) |
@@ -215,7 +215,7 @@ function sendOwnedVideosToPod (podId: number) { | |||
215 | return createRequest(options) | 215 | return createRequest(options) |
216 | }) | 216 | }) |
217 | .catch(err => { | 217 | .catch(err => { |
218 | logger.error('Cannot convert video to remote.', { error: err }) | 218 | logger.error('Cannot convert video to remote.', err) |
219 | // Don't break the process | 219 | // Don't break the process |
220 | return undefined | 220 | return undefined |
221 | }) | 221 | }) |
@@ -344,7 +344,7 @@ function makeRequestsToWinningPods (cert: string, podsList: PodInstance[]) { | |||
344 | sendOwnedVideosToPod(podCreated.id) | 344 | sendOwnedVideosToPod(podCreated.id) |
345 | }) | 345 | }) |
346 | .catch(err => { | 346 | .catch(err => { |
347 | logger.error('Cannot add friend %s pod.', pod.host, { error: err }) | 347 | logger.error('Cannot add friend %s pod.', pod.host, err) |
348 | }) | 348 | }) |
349 | } else { | 349 | } else { |
350 | logger.error('Status not 200 for %s pod.', pod.host) | 350 | logger.error('Status not 200 for %s pod.', pod.host) |