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.',
|
||||
toPod.url,
|
||||
{
|
||||
error: err || new Error('Status code not 20x'),
|
||||
statusCode: res.statusCode
|
||||
error: err || new Error('Status code not 20x : ' + res.statusCode)
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue