diff options
author | boasting-squirrel <boasting.squirrel@gmail.com> | 2019-03-09 10:45:34 +0000 |
---|---|---|
committer | boasting-squirrel <boasting.squirrel@gmail.com> | 2019-03-09 10:45:34 +0000 |
commit | 5cde963bb25c44695a8e72432c739416cbaa1014 (patch) | |
tree | b41b0000a4ae6e01f0c9566c22e8c922110a43b5 | |
parent | Temporary workaround for symlinks issue (diff) | |
download | miniserve-5cde963bb25c44695a8e72432c739416cbaa1014.tar.gz miniserve-5cde963bb25c44695a8e72432c739416cbaa1014.zip |
Removed debug message
-rw-r--r-- | src/listing.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/listing.rs b/src/listing.rs index f7198a5..88dab40 100644 --- a/src/listing.rs +++ b/src/listing.rs @@ -240,12 +240,11 @@ pub fn directory_listing<S>( ) .chunked() .body(Body::Streaming(Box::new(once(Ok(content)))))), - Err(err) => { + Err(_) => { println!( - "{error} an error occured while compressing {folder}: {err:?}", + "{error} an error occured while compressing {folder}", error = Paint::red("error:").bold(), folder = dir.path.display(), - err = err ); Ok(HttpResponse::Ok() .status(http::StatusCode::INTERNAL_SERVER_ERROR) |