diff --git a/ofborg/src/vcs/gerrit/ssh.rs b/ofborg/src/vcs/gerrit/ssh.rs index 63b3a51..c81e16c 100644 --- a/ofborg/src/vcs/gerrit/ssh.rs +++ b/ofborg/src/vcs/gerrit/ssh.rs @@ -19,7 +19,13 @@ impl GerritSSHApi { let tempdir = builder .launch_master(destination) .await - .unwrap_or_else(|_| panic!("Failed to launch SSH master to destination '{}'", uri)); + .unwrap_or_else(|e| { + eprintln!("{:?}", e); + panic!( + "Failed to launch SSH master to destination '{}' due to the previous error", + uri + ) + }); Self { session: Session::new_process_mux(tempdir), }