Fix incorrect reference

This commit is contained in:
abalabahaha
2016-07-29 06:30:07 +09:00
parent b95058399e
commit d956780d18
2 changed files with 2 additions and 2 deletions

View File

@@ -177,7 +177,7 @@ var InternalClient = (function () {
ret.end(function (error, data) {
if (error) {
if (data.status === 429) {
self.emit("debug", "Encountered 429 at " + url);
self.client.emit("debug", "Encountered 429 at " + url);
}
reject(error);
} else {