include asan_text in log message as intended (#1092)

This commit is contained in:
bmc-msft
2021-07-20 13:48:28 -04:00
committed by GitHub
parent 9c30183036
commit 1bd4f33d83

View File

@ -79,7 +79,7 @@ pub async fn check_asan_path(asan_dir: &Path) -> Result<Option<CrashLog>> {
asan_text.truncate(ASAN_LOG_TRUNCATE_SIZE);
asan_text.push_str("...<truncated>");
}
format_err!("unable to parse asan log {}: {:?}")
format_err!("unable to parse asan log: {:?}", asan_text)
})?;
return Ok(Some(asan));
}