Skip to content

Commit

Permalink
fix(tasks): wrap error variant
Browse files Browse the repository at this point in the history
  • Loading branch information
petarvujovic98 committed Aug 15, 2024
1 parent 65e9fcd commit c9fcb05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/src/adv_sqlite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ impl TaskDb {
Ok(q) => q,
Err(e) => {
return match e {
rusqlite::Error::QueryReturnedNoRows => TaskManagerError::NoData,
rusqlite::Error::QueryReturnedNoRows => Err(TaskManagerError::NoData),
e => e.into(),
}
}
Expand Down

0 comments on commit c9fcb05

Please sign in to comment.