diff --git a/Cargo.toml b/Cargo.toml index 5f2c7dc..d9a31bf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "url-scheme-handler" -version = "1.0.3" +version = "1.0.4" edition = "2021" [dependencies] diff --git a/src/main.rs b/src/main.rs index 0b8faa4..52a5f2a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -151,7 +151,11 @@ fn main() -> std::io::Result<()> { Ok(output) => { if !output.status.success() { let stderr = String::from_utf8_lossy(&output.stderr); - show_message_box("Error", &stderr); + let stdout = String::from_utf8_lossy(&output.stdout); + show_message_box( + "Error", + &format!("{}\n{}", stderr, stdout), + ); } else { println!("Command executed successfully"); }