Improve log message

This commit is contained in:
FliegendeWurst 2020-05-03 21:48:13 +02:00
parent a7027124e3
commit a5afd84764

View File

@ -643,7 +643,7 @@ fn process(ilias: Arc<ILIAS>, path: PathBuf, obj: Object) -> impl std::future::F
let mut reader = stream_reader(data.bytes_stream().map_err(|x| {
io::Error::new(io::ErrorKind::Other, x)
}));
println!("Writing to {:?}..", path);
println!("Writing file to {:?}..", path);
let file = AsyncFile::create(&path).await?;
let mut file = BufWriter::new(file);
tokio::io::copy(&mut reader, &mut file).await?;