Log sql errors in vault
This commit is contained in:
parent
37df869695
commit
c07941b374
2 changed files with 15 additions and 7 deletions
|
|
@ -217,11 +217,10 @@ macro_rules! requests {
|
|||
}
|
||||
|
||||
impl EuphRequest {
|
||||
pub(super) fn perform(self, conn: &mut Connection) {
|
||||
// TODO Handle this result
|
||||
let _ = match self {
|
||||
pub(super) fn perform(self, conn: &mut Connection) -> rusqlite::Result<()> {
|
||||
match self {
|
||||
$( Self::$var(request) => request.perform(conn), )*
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue