Merge pull request #13164 from vector-im/t3chguy/soft-fail-rageshake

Allow rageshake to fail in init
This commit is contained in:
Michael Telatynski 2020-04-14 14:51:09 +01:00 committed by GitHub
commit 4354c508c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,8 @@ async function start() {
"./init"); "./init");
try { try {
await settled(rageshakePromise); // give rageshake a chance to load/fail // give rageshake a chance to load/fail, we don't actually assert rageshake loads, we allow it to fail if no IDB
await settled(rageshakePromise);
const fragparts = parseQsFromFragment(window.location); const fragparts = parseQsFromFragment(window.location);
@ -182,7 +183,6 @@ async function start() {
// app load critical path starts here // app load critical path starts here
// assert things started successfully // assert things started successfully
// ################################## // ##################################
await rageshakePromise;
await loadOlmPromise; await loadOlmPromise;
await loadSkinPromise; await loadSkinPromise;
await loadThemePromise; await loadThemePromise;