diff options
| -rw-r--r-- | src/errors.rs | 3 |
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 } } |
