diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-11-03 08:24:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-03 08:24:25 +0100 |
commit | 492be316c4dde88e3b9ae08810074a2d0c0e5c27 (patch) | |
tree | c978d03c4904a1c9fbf318d665f6fe27a69f7a17 | |
parent | 6f507d01c645b2f91547abde2ac572ea49b17187 (diff) | |
parent | bb5587ca27ec95d8e23b9e09edf4b5a56f2f153e (diff) |
Merge pull request #24 from dtolnay-contrib/fmt
Fix missing fmt argument in error message
-rw-r--r-- | src/endpoint/scheduler.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/endpoint/scheduler.rs b/src/endpoint/scheduler.rs index 014d68a..968fec3 100644 --- a/src/endpoint/scheduler.rs +++ b/src/endpoint/scheduler.rs @@ -213,7 +213,7 @@ impl JobHandle { let (run_container, logres) = tokio::join!(running_container, logres); let log = logres.with_context(|| anyhow!("Collecting logs for job on '{}'", endpoint_name))?; let run_container = run_container - .with_context(|| anyhow!("Running container {} failed")) + .with_context(|| anyhow!("Running container {} failed", container_id)) .with_context(|| { Self::create_job_run_error( &job_id, |