Imporved logging and added debug information to get backtraces when errors are encountered

This commit is contained in:
2024-04-23 18:19:35 +03:00
parent 305b796d51
commit 1b9fa77b13
10 changed files with 66 additions and 65 deletions

View File

@@ -27,7 +27,7 @@ async fn get_master_pass(
&locale.everything_was_deleted
}
(Err(err), _) | (_, Err(err)) => {
error!("{}", crate::Error::from(err));
error!("{:?}", crate::Error::from(err));
txn.rollback().await?;
&locale.something_went_wrong
}