mirror of https://github.com/Chocobozzz/PeerTube
Server: fix error log when a friend request fails
parent
19a08a3498
commit
7c34bc6491
|
@ -100,8 +100,7 @@ function makeRequest (toPod, requestsToMake, callback) {
|
||||||
'Error sending secure request to %s pod.',
|
'Error sending secure request to %s pod.',
|
||||||
toPod.url,
|
toPod.url,
|
||||||
{
|
{
|
||||||
error: err || new Error('Status code not 20x'),
|
error: err || new Error('Status code not 20x : ' + res.statusCode)
|
||||||
statusCode: res.statusCode
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue