fix: bad fix for sqlite
This commit is contained in:
parent
97b0c822f4
commit
85a2bedc1a
1 changed files with 1 additions and 0 deletions
|
@ -197,6 +197,7 @@ async fn crawl_replies(ctx: &Context, id: &str, depth: usize) -> crate::Result<(
|
||||||
{
|
{
|
||||||
Ok(_) => {},
|
Ok(_) => {},
|
||||||
Err(sea_orm::DbErr::RecordNotInserted) => {},
|
Err(sea_orm::DbErr::RecordNotInserted) => {},
|
||||||
|
Err(sea_orm::DbErr::Exec(_)) => {}, // ughhh bad fix for sqlite
|
||||||
Err(e) => return Err(e.into()),
|
Err(e) => return Err(e.into()),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue