Debug reconnect issues

This commit is contained in:
yflory
2020-03-11 18:00:46 +01:00
parent a0ab44c82d
commit 7cd3701f26
3 changed files with 10 additions and 1 deletions

View File

@@ -413,6 +413,8 @@ define([
};
var onError = function (err) {
console.error(err); // XXX DEBUG
common.onServerError(err, null, function () {
if (err.type === 'ERESTRICTED') {
stateChange(STATE.ERROR, err.type);