fix: delete buntar if any issue while creating it

This commit is contained in:
Ruben Fiszel
2024-07-24 15:23:06 +02:00
parent 6938c4b323
commit 495911817d
@@ -589,6 +589,7 @@ pub async fn handle_bun_job(
"shared".to_string(),
]),
) {
fs::remove_dir_all(&buntar_path)?;
tracing::error!("Could not create buntar: {e}");
}
}