add debug statement for udp response

This commit is contained in:
Max Ogden 2015-01-23 22:16:44 -08:00
parent 1e9195f5b1
commit 9e691afbfe

View File

@ -311,6 +311,7 @@ Tracker.prototype._requestUdp = function (requestUrl, opts) {
} }
var action = msg.readUInt32BE(0) var action = msg.readUInt32BE(0)
debug(requestUrl, 'UDP response, action', action)
switch (action) { switch (action) {
case 0: // handshake case 0: // handshake
if (msg.length < 16) { if (msg.length < 16) {