aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/request/abstract-request-scheduler.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/request/abstract-request-scheduler.ts')
-rw-r--r--server/lib/request/abstract-request-scheduler.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/request/abstract-request-scheduler.ts b/server/lib/request/abstract-request-scheduler.ts
index 128fc5b28..0a9ff65d5 100644
--- a/server/lib/request/abstract-request-scheduler.ts
+++ b/server/lib/request/abstract-request-scheduler.ts
@@ -84,7 +84,7 @@ abstract class AbstractRequestScheduler <T> {
84 } 84 }
85 }) 85 })
86 .catch(err => { 86 .catch(err => {
87 logger.error('Error sending secure request to %s pod.', toPod.host, { error: err }) 87 logger.error('Error sending secure request to %s pod.', toPod.host, err)
88 88
89 throw err 89 throw err
90 }) 90 })
@@ -124,7 +124,7 @@ abstract class AbstractRequestScheduler <T> {
124 }) 124 })
125 .catch(err => { 125 .catch(err => {
126 badPods.push(requestToMake.toPod.id) 126 badPods.push(requestToMake.toPod.id)
127 logger.info('Cannot make request to %s.', toPod.host, { error: err }) 127 logger.info('Cannot make request to %s.', toPod.host, err)
128 }) 128 })
129 }, { concurrency: REQUESTS_IN_PARALLEL }).then(() => ({ goodPods, badPods })) 129 }, { concurrency: REQUESTS_IN_PARALLEL }).then(() => ({ goodPods, badPods }))
130 }) 130 })