Allow rageshake to fail in init

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/13164/head
Michael Telatynski 2020-04-14 14:44:12 +01:00
parent 6e15684a04
commit 36f55c1630
1 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,8 @@ async function start() {
"./init");
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);
@ -182,7 +183,6 @@ async function start() {
// app load critical path starts here
// assert things started successfully
// ##################################
await rageshakePromise;
await loadOlmPromise;
await loadSkinPromise;
await loadThemePromise;