summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-07-21 12:18:02 +0200
committerMatthias Beyer <matthias.beyer@atos.net>2021-07-21 13:25:08 +0200
commit544b4348c4073e63635e08a1758f947d0c8099f6 (patch)
tree60adf0ae7c85925b547e606dcc531ae5dab42d59
parent4cb8d43e7292825cf1ca2720b26cbb8533024298 (diff)
Add builder options in error message
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
-rw-r--r--src/endpoint/configured.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/endpoint/configured.rs b/src/endpoint/configured.rs
index badbc8d..6a1e3be 100644
--- a/src/endpoint/configured.rs
+++ b/src/endpoint/configured.rs
@@ -479,6 +479,7 @@ impl<'a> PreparedContainer<'a> {
.containers()
.create(&builder_opts)
.await
+ .with_context(|| anyhow!("Creating container with builder options = {:?}", builder_opts))
.with_context(|| anyhow!("Creating container on '{}'", endpoint.name))?;
trace!("Create info = {:?}", create_info);
Ok(create_info)