Skip to content

Commit

Permalink
log bytes downloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
jcgruenhage committed Nov 19, 2018
1 parent 3a6d6ac commit 8d31b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl Cache {
fn download(&self) -> Result<Vec<u8>, TealdeerError> {
let mut resp = reqwest::get(&self.url)?;
let mut buf: Vec<u8> = vec![];
resp.copy_to(&mut buf)?;
debug!("{} bytes downloaded", resp.copy_to(&mut buf)?);
Ok(buf)
}

Expand Down

0 comments on commit 8d31b6d

Please sign in to comment.