diff --git a/src/site.rs b/src/site.rs index 2a232b4..0258bde 100644 --- a/src/site.rs +++ b/src/site.rs @@ -67,6 +67,7 @@ pub enum SiteError { impl actix_web::error::ResponseError for SiteError { fn error_response(&self) -> HttpResponse { + log::error!("Error response: {:?}", self); let status_code = self.status_code(); HttpResponse::build(status_code) // .insert_header(ContentType::plaintext())