website/src/main.rs

11 lines
245 B
Rust
Raw Normal View History

use std::process;
2021-11-21 13:54:30 +00:00
2021-11-26 09:08:59 +00:00
/// Begin the `nyf` run. Catch any application errors, print them to `stderr` and return an error
/// exit code (`1`).
2021-11-22 17:52:59 +00:00
fn main() {
if let Err(e) = nyf::run() {
2021-11-23 18:40:01 +00:00
eprintln!("{}", e);
process::exit(1);
2021-11-21 13:54:30 +00:00
}
2020-05-08 17:22:06 +00:00
}