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:
19a08a3
)
Server: fix error log when a friend request fails
author
Chocobozzz
<florian.bigard@gmail.com>
Sat, 1 Oct 2016 08:10:49 +0000
(10:10 +0200)
committer
Chocobozzz
<florian.bigard@gmail.com>
Sat, 1 Oct 2016 08:10:49 +0000
(10:10 +0200)
server/models/request.js
patch
|
blob
|
history
diff --git
a/server/models/request.js
b/server/models/request.js
index b36b4f61339178d31ae52009200299e8ca3b3d96..73b17dc8c100daf6c0e974badb7f997cf7629738 100644
(file)
--- a/
server/models/request.js
+++ b/
server/models/request.js
@@
-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)
}
)