diff options
-rw-r--r-- | server/models/request.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/models/request.js b/server/models/request.js index b36b4f613..73b17dc8c 100644 --- a/server/models/request.js +++ b/server/models/request.js | |||
@@ -100,8 +100,7 @@ function makeRequest (toPod, requestsToMake, callback) { | |||
100 | 'Error sending secure request to %s pod.', | 100 | 'Error sending secure request to %s pod.', |
101 | toPod.url, | 101 | toPod.url, |
102 | { | 102 | { |
103 | error: err || new Error('Status code not 20x'), | 103 | error: err || new Error('Status code not 20x : ' + res.statusCode) |
104 | statusCode: res.statusCode | ||
105 | } | 104 | } |
106 | ) | 105 | ) |
107 | 106 | ||