File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ Tracker.prototype._requestHttp = function (requestUrl, opts) {
150150 var data = ''
151151 if ( res . statusCode !== 200 ) {
152152 res . resume ( ) // consume the whole stream
153- self . client . emit ( 'error' , new Error ( 'Invalid response code ' + res . statusCode + ' from tracker' ) )
153+ self . client . emit ( 'error' , new Error ( 'Invalid response code ' + res . statusCode + ' from tracker ' + requestUrl ) )
154154 return
155155 }
156156 res . on ( 'data' , function ( chunk ) {
@@ -181,7 +181,7 @@ Tracker.prototype._requestUdp = function (requestUrl, opts) {
181181 }
182182
183183 function error ( message ) {
184- self . client . emit ( 'error' , new Error ( message ) )
184+ self . client . emit ( 'error' , new Error ( message + ' (connecting to tracker ' + requestUrl + ')' ) )
185185 socket . close ( )
186186 clearTimeout ( timeout )
187187 }
You can’t perform that action at this time.
0 commit comments