From 18dd7f7ef84f1c36e0d59d3a06fcc01c42cf473c Mon Sep 17 00:00:00 2001 From: Kamen Mladenov Date: Fri, 7 Mar 2025 09:47:40 +0200 Subject: fix(zkvms_guest_io): Improve option error messages --- zkvms_guest_io/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zkvms_guest_io') diff --git a/zkvms_guest_io/src/main.rs b/zkvms_guest_io/src/main.rs index ee817ec..4f4db75 100644 --- a/zkvms_guest_io/src/main.rs +++ b/zkvms_guest_io/src/main.rs @@ -54,7 +54,7 @@ fn main() { .args(args) .stdout(Stdio::piped()) .output() - .expect("error occured!"); + .expect("failed to run command"); let mut stdout = String::from_utf8(output.stdout).unwrap(); if !output.stderr.is_empty() { @@ -72,7 +72,7 @@ fn main() { panic!(); } }) - .unwrap(), + .expect("failed to spawn thread"), ); } -- cgit v1.2.3