Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small debugging improvements #1464

Merged
merged 1 commit into from Aug 9, 2018
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Small debugging improvements

  • Loading branch information
jhiesey committed Aug 9, 2018
commit cda4422379a17dea1b8664aa2fba42b722ebcf84
@@ -81,7 +81,7 @@ function Peer (id, type) {
self.id = id
self.type = type

debug('new Peer %s', id)
debug('new %s Peer %s', type, id)

self.addr = null
self.conn = null
@@ -1671,7 +1671,6 @@ Torrent.prototype.resume = function () {
}

Torrent.prototype._debug = function () {
if (this.destroyed) return
var args = [].slice.call(arguments)
args[0] = '[' + this.client._debugId + '] [' + this._debugId + '] ' + args[0]
debug.apply(null, args)
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.