make an error transparent so it's more meaningful

main
_ 2021-04-18 13:51:27 -05:00
parent d001d9efe5
commit 9eb470963c
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ pub enum ServerError {
#[error ("Loading Handlebars template file")] #[error ("Loading Handlebars template file")]
LoadHandlebars (#[from] handlebars::TemplateFileError), LoadHandlebars (#[from] handlebars::TemplateFileError),
#[error ("File server error")] #[error (transparent)]
FileServer (#[from] super::file_server::errors::FileServerError), FileServer (#[from] super::file_server::errors::FileServerError),
// Hyper stuff // Hyper stuff