diff --git a/www/common/cryptget.js b/www/common/cryptget.js index 4afce7671..b3a3c7511 100644 --- a/www/common/cryptget.js +++ b/www/common/cryptget.js @@ -58,6 +58,11 @@ define([ Session.network = info.network; finish(Session, void 0, rt.getUserDoc()); }; + + config.onChannelError = function (info) { + finish(Session, info.error); + }; + overwrite(config, opt); Session.realtime = CPNetflux.start(config);