more verbose docker wait errors

This commit is contained in:
Ruben Fiszel
2025-05-22 01:07:29 +02:00
parent 145a63f3f8
commit dfd8c4cd2a
+1 -1
View File
@@ -305,7 +305,7 @@ async fn handle_docker_job(
.await
.map_err(|e| {
tracing::error!("Error waiting for container: {:?}", e);
anyhow::anyhow!("Error waiting for container")
anyhow::anyhow!("Error waiting for container: {:?}", e)
})?;
let waited = wait.first().map(|x| x.status_code);
Ok(waited)