client: add better error messages on failed server connection
Build and test / check-license (push) Successful in 53s
Build and test / check (push) Successful in 2m28s
Build and test / build (push) Successful in 3m11s
Build and test / test (push) Successful in 3m18s
Build and test / docs (push) Successful in 8m0s

This commit is contained in:
2026-01-12 21:06:59 +09:00
parent 87ef63b680
commit ce75aa509d
2 changed files with 31 additions and 4 deletions
+2 -1
View File
@@ -319,7 +319,8 @@ fn main() -> anyhow::Result<()> {
#[cfg(not(feature = "suid-sgid-mode"))]
None,
args.verbose,
)?;
)
.context("Failed to connect to the server")?;
tokio_run_command(args.command, connection)?;