mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2024-12-13 19:06:27 +00:00
Remove info_hash from failure reason
This commit is contained in:
parent
00e84cb669
commit
4142e8cf20
@ -311,8 +311,7 @@ Server.prototype._onWebSocketRequest = function (socket, params) {
|
||||
params = parseWebSocketRequest(socket, params)
|
||||
} catch (err) {
|
||||
socket.send(JSON.stringify({
|
||||
'failure reason': err.message,
|
||||
info_hash: common.hexToBinary(params.info_hash)
|
||||
'failure reason': err.message
|
||||
}), socket.onSend)
|
||||
|
||||
// even though it's an error for the client, it's just a warning for the server.
|
||||
|
Loading…
Reference in New Issue
Block a user