Merge pull request #1436 from cmgustavo/bug/connection-error

Added "network error" message when joining a wallet
This commit is contained in:
Matias Alejo Garcia 2014-09-22 09:57:16 -03:00
commit 2da79f9ce4
2 changed files with 6 additions and 0 deletions

View file

@ -371,6 +371,10 @@ WalletFactory.prototype.joinCreateSession = function(secret, nickname, passphras
connectedOnce = true;
});
joinNetwork.on('connect_error', function() {
return cb('connectionError');
});
joinNetwork.on('serverError', function() {
return cb('joinError');
});