diff options
author | boastful-squirrel <boastful.squirrel@gmail.com> | 2019-04-27 10:25:11 +0000 |
---|---|---|
committer | boastful-squirrel <boastful.squirrel@gmail.com> | 2019-04-27 10:25:11 +0000 |
commit | 211250a71d9b2df27f85beb35b89d23346c6fa5e (patch) | |
tree | 682b2b4f7bd4fbd61dbccc45bb7067bf38031c41 /src/file_upload.rs | |
parent | Themed errors (diff) | |
download | miniserve-211250a71d9b2df27f85beb35b89d23346c6fa5e.tar.gz miniserve-211250a71d9b2df27f85beb35b89d23346c6fa5e.zip |
Improved some errors
Diffstat (limited to 'src/file_upload.rs')
-rw-r--r-- | src/file_upload.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_upload.rs b/src/file_upload.rs index 88a4649..f8c5019 100644 --- a/src/file_upload.rs +++ b/src/file_upload.rs @@ -30,7 +30,7 @@ fn save_file( Ok(file) => file, Err(e) => { return Box::new(future::err(ContextualErrorKind::IOError( - format!("Failed to create file {}", file_path.display()), + format!("Failed to create {}", file_path.display()), e, ))); } |