mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-12-01 21:09:17 -06:00
Server: fix error log when a friend request fails
This commit is contained in:
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
Block a user