Skip to content

Commit

Permalink
fix: error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
lok52 committed Oct 31, 2024
1 parent 319b1cc commit 2eac3ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ where

match res {
Ok(_) | Err(DbErr::RecordNotInserted) => Ok(()),
Err(err) => Err(anyhow::anyhow!(err)),
Err(err) => Err(err),
}
}

0 comments on commit 2eac3ee

Please sign in to comment.