mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Merge pull request #13164 from vector-im/t3chguy/soft-fail-rageshake
Allow rageshake to fail in init
This commit is contained in:
commit
4354c508c7
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user