fix typo in error message
This commit is contained in:
parent
f7aa6f15d3
commit
2c2097ee75
|
@ -232,7 +232,7 @@ fn download_chunk(
|
||||||
env.debug(format!("download chunk {:?}", path));
|
env.debug(format!("download chunk {:?}", path));
|
||||||
|
|
||||||
let response_future = tokio::fs::read(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| {
|
.and_then(move |data| {
|
||||||
let body = Body::from(data);
|
let body = Body::from(data);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue