Commit fad137b2 authored by Ian Ward's avatar Ian Ward

fix scope of issuelog in attemptReconnect

parent 2fec8551
......@@ -96,7 +96,7 @@ issues.attemptReconnect = function attemptReconnect () {
ping(this.tokens[1], function pingpong (err) {
// still no access to the server
if (err) {
this.messages.push(err.message || 'No message specified');
issue.messages.push(err.message || 'No message specified');
return setTimeout(issue.attemptReconnect.bind(issue), issue.reconnect);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment