diff --git a/explorer/CHANGELOG.md b/explorer/CHANGELOG.md index 43d6204ca..f32297c36 100644 --- a/explorer/CHANGELOG.md +++ b/explorer/CHANGELOG.md @@ -20,6 +20,8 @@ - **Errors for interrupted git responses**: An archive download cut short by a killed or failed `git archive`, or a clone whose `git http-backend` is killed, now ends in a transfer error instead of a complete-looking 200 +- **Exit code for a pathless Unix socket**: `--listen unix:` now exits 1 instead + of 0 ## radicle-httpd + radicle-search 0.31.0 diff --git a/explorer/crates/radicle-httpd/src/main.rs b/explorer/crates/radicle-httpd/src/main.rs index edc081ccc..790914f6e 100644 --- a/explorer/crates/radicle-httpd/src/main.rs +++ b/explorer/crates/radicle-httpd/src/main.rs @@ -92,8 +92,7 @@ fn parse_options() -> anyhow::Result { } } } else { - tracing::error!("Provided socket address isn't a valid path."); - process::exit(0); + bail!("--listen: unix socket address is not a valid path"); } }