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

fix debug function undefined bug #1183

Merged
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

fix debug function undefined bug

  • Loading branch information
XiaoJun
XiaoJun committed Sep 8, 2017
commit edac8ac9b569cae8a32b2ca837941fe8f05c4f78
@@ -1647,6 +1647,7 @@ 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.