disable TemporaryPath panic

This commit is contained in:
keorn
2016-09-19 10:41:35 +02:00
parent c6c45db1d0
commit 6af888f9e4
2 changed files with 2 additions and 1 deletions

View File

@@ -77,7 +77,7 @@ impl Drop for RandomTempPath {
fn drop(&mut self) {
if let Err(_) = fs::remove_dir_all(&self) {
if let Err(e) = fs::remove_file(&self) {
panic!("Failed to remove temp directory. Here's what prevented this from happening: ({})", e);
println!("Failed to remove temp directory. Here's what prevented this from happening: ({})", e);
}
}
}