mirror of
https://github.com/zadam/trilium.git
synced 2026-06-11 23:12:12 +02:00
chore(client/lightweight): wait for becca to load before processing requests
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user