mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 11:42:25 +00:00
remove comment
This commit is contained in:
@@ -13,8 +13,6 @@ pub enum Error {
|
|||||||
Unauthorized,
|
Unauthorized,
|
||||||
#[error("Internal server error :(")]
|
#[error("Internal server error :(")]
|
||||||
InternalError,
|
InternalError,
|
||||||
// #[error(transparent)]
|
|
||||||
// PropfindError(#[from] propfind::Error),
|
|
||||||
#[error("Internal server error")]
|
#[error("Internal server error")]
|
||||||
Other(#[from] anyhow::Error),
|
Other(#[from] anyhow::Error),
|
||||||
}
|
}
|
||||||
@@ -27,7 +25,6 @@ impl actix_web::error::ResponseError for Error {
|
|||||||
Self::NotFound => StatusCode::NOT_FOUND,
|
Self::NotFound => StatusCode::NOT_FOUND,
|
||||||
Self::BadRequest => StatusCode::BAD_REQUEST,
|
Self::BadRequest => StatusCode::BAD_REQUEST,
|
||||||
Self::Unauthorized => StatusCode::UNAUTHORIZED,
|
Self::Unauthorized => StatusCode::UNAUTHORIZED,
|
||||||
// Self::PropfindError(e) => e.status_code(),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user