mirror of
https://github.com/zadam/trilium.git
synced 2026-01-12 09:34:26 +01:00
chore(client/lightweight): wait for becca to load before processing requests
This commit is contained in:
parent
0fe299250e
commit
7966cfd09c
@ -88,6 +88,10 @@ async function initialize(): Promise<void> {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
console.log("[Worker] Initializing becca...");
|
||||
await coreModule.becca_loader.beccaLoaded;
|
||||
|
||||
console.log("[Worker] Initialization complete");
|
||||
} catch (error) {
|
||||
initError = error instanceof Error ? error : new Error(String(error));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user