We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b96df03 + d518d41 commit 6c3d09eCopy full SHA for 6c3d09e
src/errors/routes.rs
@@ -38,7 +38,7 @@ impl ApiError {
38
impl From<ServiceError> for ApiError {
39
fn from(err: ServiceError) -> Self {
40
match err {
41
- ServiceError::DatabaseError { message, source: _ } => {
+ ServiceError::DatabaseError { message, .. } => {
42
ApiError::InternalServerError(format!("Database error: {}", message))
43
}
44
ServiceError::NotFound { resource, detail } => {
0 commit comments