From 61887a949617d418421bc5c48ecea961ca32f9c1 Mon Sep 17 00:00:00 2001 From: Matthew Fisher Date: Fri, 1 Dec 2023 15:10:47 -0800 Subject: [PATCH] add more context to certain errors Signed-off-by: Matthew Fisher --- src/commands/deploy.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands/deploy.rs b/src/commands/deploy.rs index ba00a1e..6249efe 100644 --- a/src/commands/deploy.rs +++ b/src/commands/deploy.rs @@ -253,7 +253,8 @@ impl DeployCommand { client .add_revision(storage_id.clone(), version.clone()) - .await?; + .await + .context(format!("Unable to upload {}", version.clone()))?; for kv in self.key_values { client