make error translatable
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
83653b3a22
commit
942ca3b525
2 changed files with 2 additions and 1 deletions
|
@ -135,7 +135,7 @@ export async function loadApp(fragParams: {}) {
|
|||
// the bundling. The js-sdk will just fall back to accessing
|
||||
// indexeddb directly with no worker script, but we want to
|
||||
// make sure the indexeddb script is present, so fail hard.
|
||||
throw new Error("Missing indexeddb worker script!");
|
||||
throw newTranslatableError(_td("Missing indexeddb worker script!"));
|
||||
}
|
||||
MatrixClientPeg.setIndexedDbWorkerScript(vectorIndexeddbWorkerScript);
|
||||
CallHandler.setConferenceHandler(VectorConferenceHandler);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue