mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 10:45:42 +00:00
add a hack that supresses a strange error (this._remote.status.data is null, even though it was downloaded correctly)
This commit is contained in:
parent
ac61d5ab82
commit
7e76ae5040
@ -314,7 +314,9 @@ SyncEngine.prototype = {
|
||||
this._snapshot.load();
|
||||
|
||||
try {
|
||||
this._remote.status.data; // FIXME - otherwise we get an error...
|
||||
yield this._remote.openSession(self.cb, this._snapshot);
|
||||
|
||||
} catch (e if e.status == 404) {
|
||||
yield this._initialUpload.async(this, self.cb);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user