diff --git a/lib/Interactor/PushInteractor.js b/lib/Interactor/PushInteractor.js index d8543d0c..2a39bde4 100644 --- a/lib/Interactor/PushInteractor.js +++ b/lib/Interactor/PushInteractor.js @@ -38,7 +38,7 @@ function setupConnection(host) { client.on('error', function(e) { console.log('[PUSH] Client got error', e.message); // axon does not reconnect on error - self.reconnect(); + that.reconnect(); }); client.on('close', function(e) {