Skip to content

Commit 4142e8c

Browse files
committed
Remove info_hash from failure reason
1 parent 00e84cb commit 4142e8c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

server.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,7 @@ Server.prototype._onWebSocketRequest = function (socket, params) {
311311
params = parseWebSocketRequest(socket, params)
312312
} catch (err) {
313313
socket.send(JSON.stringify({
314-
'failure reason': err.message,
315-
info_hash: common.hexToBinary(params.info_hash)
314+
'failure reason': err.message
316315
}), socket.onSend)
317316

318317
// even though it's an error for the client, it's just a warning for the server.

0 commit comments

Comments
 (0)