fix typo in error message

This commit is contained in:
Dietmar Maurer 2019-10-07 12:48:56 +02:00
parent f7aa6f15d3
commit 2c2097ee75

View File

@ -232,7 +232,7 @@ fn download_chunk(
env.debug(format!("download chunk {:?}", path));
let response_future = tokio::fs::read(path)
.map_err(move |err| http_err!(BAD_REQUEST, format!("redingfile {:?} failed: {}", path2, err)))
.map_err(move |err| http_err!(BAD_REQUEST, format!("reading file {:?} failed: {}", path2, err)))
.and_then(move |data| {
let body = Body::from(data);