diff --git a/ofborg/src/vcs/gerrit/ssh.rs b/ofborg/src/vcs/gerrit/ssh.rs index 63b3a51..288a06c 100644 --- a/ofborg/src/vcs/gerrit/ssh.rs +++ b/ofborg/src/vcs/gerrit/ssh.rs @@ -19,7 +19,12 @@ 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| { + panic!( + "Failed to launch SSH master to destination '{}' due to '{}'", + uri, e + ) + }); Self { session: Session::new_process_mux(tempdir), }