projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab87af1
)
Fix error log when updating redundancy
author
Chocobozzz
<me@florianbigard.com>
Tue, 26 Nov 2019 16:50:37 +0000
(17:50 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Wed, 27 Nov 2019 09:29:26 +0000
(10:29 +0100)
server/controllers/api/server/redundancy.ts
patch
|
blob
|
history
diff --git
a/server/controllers/api/server/redundancy.ts
b/server/controllers/api/server/redundancy.ts
index f8109070d5c7a58a9bcf7e0fa7e8c17a9dd766af..4ea6164a38c0342a839d5207ef9c44c1dd428f6b 100644
(file)
--- a/
server/controllers/api/server/redundancy.ts
+++ b/
server/controllers/api/server/redundancy.ts
@@
-31,7
+31,7
@@
async function updateRedundancy (req: express.Request, res: express.Response) {
// Async, could be long
removeRedundancyOf(server.id)
- .catch(err => logger.error('Cannot remove redundancy of %s.', server.host,
err
))
+ .catch(err => logger.error('Cannot remove redundancy of %s.', server.host,
{ err }
))
return res.sendStatus(204)
}