feat: better error handling

This commit is contained in:
Zomatree
2025-08-15 02:00:12 +01:00
parent ed22b3a5ce
commit 3d6f39a0eb
17 changed files with 335 additions and 54 deletions
@@ -705,6 +705,8 @@ impl User {
duration_days: Option<usize>,
reason: Option<Vec<String>>,
) -> Result<()> {
// TODO: authifier Error should implement Error
let authifier = db.clone().to_authifier().await;
let mut account = authifier
.database