Remove stale Error
variant
Co-Authored-By: Max Brunsfeld <max@zed.dev>
This commit is contained in:
parent
969c314315
commit
1c30767592
2 changed files with 3 additions and 15 deletions
|
@ -2203,7 +2203,7 @@ impl Database {
|
|||
match f(tx).await {
|
||||
Ok(result) => return Ok(result),
|
||||
Err(error) => match error {
|
||||
Error::Database2(
|
||||
Error::Database(
|
||||
DbErr::Exec(sea_orm::RuntimeErr::SqlxError(error))
|
||||
| DbErr::Query(sea_orm::RuntimeErr::SqlxError(error)),
|
||||
) if error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue