From 85a2bedc1a4881262285d36a5568b26079d309b1 Mon Sep 17 00:00:00 2001 From: alemi Date: Fri, 3 May 2024 05:10:26 +0200 Subject: [PATCH] fix: bad fix for sqlite --- src/server/fetcher.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/fetcher.rs b/src/server/fetcher.rs index 21af542..390fc0c 100644 --- a/src/server/fetcher.rs +++ b/src/server/fetcher.rs @@ -197,6 +197,7 @@ async fn crawl_replies(ctx: &Context, id: &str, depth: usize) -> crate::Result<( { Ok(_) => {}, Err(sea_orm::DbErr::RecordNotInserted) => {}, + Err(sea_orm::DbErr::Exec(_)) => {}, // ughhh bad fix for sqlite Err(e) => return Err(e.into()), }