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 d1012ea930
commit 204e2fafda
@@ -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}");
}
}