We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a6280a commit e9d8f8cCopy full SHA for e9d8f8c
lib/client/http-tracker.js
@@ -158,7 +158,7 @@ class HTTPTracker extends Tracker {
158
if (this.destroyed) return
159
160
if (res.status !== 200) {
161
- return cb(new Error(`Non-200 response code ${res.statusCode} from ${this.announceUrl}`))
+ return cb(new Error(`Non-200 response code ${res.status} from ${this.announceUrl}`))
162
}
163
if (!data || data.length === 0) {
164
return cb(new Error(`Invalid tracker response from${this.announceUrl}`))
0 commit comments