Merge branch 'develop' of https://github.com/ripple/ripple-lib into develop

This commit is contained in:
wltsmrz
2013-08-22 10:55:16 -07:00
4 changed files with 16 additions and 2 deletions

View File

@@ -963,6 +963,11 @@ Remote.prototype._server_prepare_subscribe = function (callback) {
self.emit('subscribed');
});
request.on('error', function (err) {
// XXX We need a better global error handling
console.log(err);
});
self.emit('prepare_subscribe', request);
request.callback(callback);