Add debug output

This commit is contained in:
Matthias Beyer 2018-04-08 20:29:14 +02:00
parent 7c401dc380
commit 2017874a8b

View file

@ -33,6 +33,8 @@ pub fn edit_in_tmpfile_with_command(mut cmd: Command, s: &mut String) -> Result<
file.write_all(&s.clone().into_bytes()[..])?;
file.sync_data()?;
debug!("Calling {:?} for {}", cmd, file_path.display());
cmd.arg(file_path)
.status()
.and_then(|status| {