Server: fix error log when a friend request fails

pull/10/merge
Chocobozzz 2016-10-01 10:10:49 +02:00
parent 19a08a3498
commit 7c34bc6491
1 changed files with 1 additions and 2 deletions

View File

@ -100,8 +100,7 @@ function makeRequest (toPod, requestsToMake, callback) {
'Error sending secure request to %s pod.',
toPod.url,
{
error: err || new Error('Status code not 20x'),
statusCode: res.statusCode
error: err || new Error('Status code not 20x : ' + res.statusCode)
}
)