Server: fix error log when a friend request fails

This commit is contained in:
Chocobozzz 2016-10-01 10:10:49 +02:00
parent 19a08a3498
commit 7c34bc6491

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)
}
)