From 211250a71d9b2df27f85beb35b89d23346c6fa5e Mon Sep 17 00:00:00 2001 From: boastful-squirrel Date: Sat, 27 Apr 2019 12:25:11 +0200 Subject: Improved some errors --- src/file_upload.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/file_upload.rs') 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, ))); } -- cgit v1.2.3