moonfire-nvr/server
Scott Lamb c55032dfcd don't panic on bind failure
Fixes #136

Before:

```
E20210803 09:00:31.161 main moonfire_nvr] panic at '/Users/slamb/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.14.10/src/server/server.rs:68:17': error binding to 0.0.0.0:80: error creating server listener: Address already in use (os error 48)

(set environment variable RUST_BACKTRACE=1 to see backtraces)
...potentially unrelated log msgs from other threads before exiting...
```

After:

```
E20210803 09:06:02.633 main moonfire_nvr] Exiting due to error: unable to bind --http-addr=0.0.0.0:80
caused by: error creating server listener: Address already in use (os error 48)

(set environment variable RUST_BACKTRACE=1 to see backtraces)
```
2021-08-03 09:09:11 -05:00
..
base address some no-op clippy warnings 2021-05-17 15:00:51 -07:00
db upgrade some server deps 2021-07-09 15:01:15 -07:00
src don't panic on bind failure 2021-08-03 09:09:11 -05:00
Cargo.lock upgrade some server deps 2021-07-09 15:01:15 -07:00
Cargo.toml upgrade some server deps 2021-07-09 15:01:15 -07:00