summaryrefslogtreecommitdiff
path: root/src/setup/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'src/setup/handlers')
-rw-r--r--src/setup/handlers/setup/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/setup/handlers/setup/mod.rs b/src/setup/handlers/setup/mod.rs
index 2977da8..ce57e17 100644
--- a/src/setup/handlers/setup/mod.rs
+++ b/src/setup/handlers/setup/mod.rs
@@ -48,7 +48,7 @@ impl IntoResponse for Error {
(StatusCode::BAD_REQUEST, error.to_string()).into_response()
}
app::Error::SetupCompleted => (StatusCode::CONFLICT, error.to_string()).into_response(),
- other => Internal::from(other).into_response(),
+ app::Error::Failed(_) => Internal::from(error).into_response(),
}
}
}