summaryrefslogtreecommitdiffstats
path: root/src/errors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/errors.rs')
-rw-r--r--src/errors.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/errors.rs b/src/errors.rs
index 15ca9d4..c30888e 100644
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -57,7 +57,8 @@ impl IntoResponse for AppError {
/// Transforms a `sqlx::Error` into a `AppError::Databse` error
impl From<sqlx::Error> for AppError {
- fn from(_error: sqlx::Error) -> AppError {
+ fn from(error: sqlx::Error) -> AppError {
+ tracing::error!("{:?}", error);
AppError::Database
}
}