From 291f115fefef468bdade0dc1db67482faf51adc4 Mon Sep 17 00:00:00 2001 From: Joakim Hulthe Date: Tue, 2 Apr 2024 12:55:48 +0200 Subject: [PATCH] Print error cause on test vm config parse fail --- test/test-manager/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-manager/src/config.rs b/test/test-manager/src/config.rs index 6921c0b33f3b..63631be840b6 100644 --- a/test/test-manager/src/config.rs +++ b/test/test-manager/src/config.rs @@ -13,7 +13,7 @@ pub enum Error { #[error("Failed to read config")] Read(io::Error), #[error("Failed to parse config")] - InvalidConfig(serde_json::Error), + InvalidConfig(#[from] serde_json::Error), #[error("Failed to write config")] Write(io::Error), }