diff --git a/src/auth.rs b/src/auth.rs index 2f8d389..870e19a 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -29,8 +29,8 @@ pub enum AuthenticationError { InvalidToken, #[error("Invalid server hash")] InvalidServerHash, - #[error("Authentication backend error")] - Backend(#[from] sqlx::Error), + #[error("Database error")] + Database(#[from] sqlx::Error), } #[derive(Debug)]