File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ Tracker.prototype._requestUdp = function (requestUrl, opts) {
300300 if ( ! stopped ) {
301301 error ( 'tracker request timed out' )
302302 }
303- } , stopped ? 1500 : 15000 )
303+ } , stopped ? 1500 : 2000 )
304304
305305 if ( timeout && timeout . unref ) {
306306 timeout . unref ( )
@@ -461,13 +461,13 @@ Tracker.prototype._handleResponse = function (requestUrl, data) {
461461 var failure = data [ 'failure reason' ]
462462 if ( failure ) {
463463 debug ( 'failure from ' + requestUrl + ' (' + failure + ')' )
464- return self . client . emit ( 'warning' , new Error ( failure ) )
464+ return self . client . emit ( 'warning' , new Error ( failure + ' (' + requestUrl + ')' ) )
465465 }
466466
467467 var warning = data [ 'warning message' ]
468468 if ( warning ) {
469469 debug ( 'warning from ' + requestUrl + ' (' + warning + ')' )
470- self . client . emit ( 'warning' , new Error ( warning ) )
470+ self . client . emit ( 'warning' , new Error ( warning + ' (' + requestUrl + ')' ) )
471471 }
472472
473473 debug ( 'response from ' + requestUrl )
You can’t perform that action at this time.
0 commit comments