mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-09-10 10:45:57 +03:00
Implemented proper error handling, now we can do user.save($conn)?;
and it works.
In the future, maybe we can do the same with the `find_by_id` methods that return an Option.
This commit is contained in:
@@ -14,9 +14,8 @@
|
||||
use std::{path::Path, process::{exit, Command}};
|
||||
use rocket::Rocket;
|
||||
|
||||
#[macro_use]
|
||||
#[macro_use] mod error;
|
||||
mod util;
|
||||
|
||||
mod api;
|
||||
mod db;
|
||||
mod crypto;
|
||||
|
Reference in New Issue
Block a user