fix(feedback): refine summary and error states
This commit is contained in:
@@ -92,10 +92,11 @@ impl IntoResponse for ApiError {
|
||||
}
|
||||
|
||||
impl From<sqlx::Error> for ApiError {
|
||||
fn from(_: sqlx::Error) -> Self {
|
||||
fn from(error: sqlx::Error) -> Self {
|
||||
tracing::error!(
|
||||
event = "database_query_failed",
|
||||
error_class = "database_query_failed",
|
||||
error = %error,
|
||||
"database query failed"
|
||||
);
|
||||
Self::Internal
|
||||
|
||||
Reference in New Issue
Block a user