mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 08:13:35 +00:00
workaround for services.m.c 500 error on some GET requests
This commit is contained in:
parent
a31ac97660
commit
4fd10f52ed
@ -341,6 +341,13 @@ WeaveSyncService.prototype = {
|
||||
throw "Created user directory, but login still failed. Aborting.";
|
||||
}
|
||||
|
||||
// FIXME: remove this after services.m.c gets fixed to not
|
||||
// return 500 from a GET when parent dirs don't exist
|
||||
this._dav.MKCOL("private/", self.cb);
|
||||
ret = yield;
|
||||
if (!ret)
|
||||
throw "Could not create private key directory";
|
||||
|
||||
this._dav.GET("private/privkey", self.cb);
|
||||
let keyResp = yield;
|
||||
Utils.ensureStatus(keyResp.status,
|
||||
|
Loading…
Reference in New Issue
Block a user