Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

bug fix

daniel31x134f1c6855aa33
diff --git a/scripts/worker.ts b/scripts/worker.ts
index 51d57f58..725497ad 100644
--- a/scripts/worker.ts
+++ b/scripts/worker.ts
@@ -258,9 +258,14 @@ export async function startIndexing() {
}));
const task = await meiliClient.index("links").addDocuments(docs);
- await meiliClient.index("links").waitForTask(task.taskUid, {
- timeOutMs: 30000,
- });
+ await meiliClient
+ .index("links")
+ .waitForTask(task.taskUid, {
+ timeOutMs: 30000,
+ })
+ .catch((err) => {
+ console.error("\x1b[34m%s\x1b[0m", `Error indexing links:`, err);
+ });
const ids = links.map((l) => l.id);
await prisma.link.updateMany({