radicle-heartwood-lfs/radicle-httpd
Fintan Halpenny b6e1385e39
httpd: improve error message for missing browser
If `open` or `xdg-open` fail the error is:

    No such file or directory (os error 2)

This generally means that the command could not open the browser on
the OS. To provide better help, improve the error message by informing
the user what went wrong and that they can run `rad web --no-open`
instead, while still printing the URL to visit.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2024-03-08 23:58:34 +01:00
..
src httpd: improve error message for missing browser 2024-03-08 23:58:34 +01:00
Cargo.toml nix: add radicle-full 2024-03-08 23:19:15 +01:00
Dockerfile docker: Make Dockerfile easier to read 2023-08-03 13:43:20 +02:00