From a0764824ead809ae5a407fe8611151959b21b71a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karen=20C=C3=A1rcamo?= Date: Mon, 10 Jun 2024 14:32:43 +1200 Subject: [PATCH] [xtask] Small fix to error message (#5874) --- dev-tools/xtask/src/download.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tools/xtask/src/download.rs b/dev-tools/xtask/src/download.rs index ccfe8b2bc9..ce227b7c4d 100644 --- a/dev-tools/xtask/src/download.rs +++ b/dev-tools/xtask/src/download.rs @@ -133,7 +133,7 @@ pub async fn run_cmd(args: DownloadArgs) -> Result<()> { Target::TransceiverControl => { downloader.download_transceiver_control().await } - }.context("Failed to download {target:?}")?; + }.context(format!("Failed to download {target:?}"))?; info!(&log, "Download complete"); Ok(())