mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Fix error logging
This commit is contained in:
parent
709756b8e1
commit
ad0997adfb
21 changed files with 49 additions and 49 deletions
|
@ -81,7 +81,7 @@ function makeFriendsController (req: express.Request, res: express.Response, nex
|
|||
|
||||
makeFriends(hosts)
|
||||
.then(() => logger.info('Made friends!'))
|
||||
.catch(err => logger.error('Could not make friends.', { error: err }))
|
||||
.catch(err => logger.error('Could not make friends.', err))
|
||||
|
||||
// Don't wait the process that could be long
|
||||
res.type('json').status(204).end()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue