Merge pull request #257 from ethereum/workaround-browsers

Workaround some browsers which don't tell the error when disconnected
pull/1/head
Alex Beregszaszi 8 years ago committed by GitHub
commit 637066057c
  1. 3
      src/app.js

@ -413,7 +413,8 @@ var run = function () {
}
})
.fail(function (xhr, text, err) {
cb(err);
// NOTE: on some browsers, err equals to '' for certain errors (such as offline browser)
cb(err || 'Unknown transport error');
});
}

Loading…
Cancel
Save