forked from PeachCloud/peach-workspace
15 lines
263 B
Rust
15 lines
263 B
Rust
use std::process;
|
|
|
|
use log::error;
|
|
|
|
fn main() {
|
|
// initialize the logger
|
|
env_logger::init();
|
|
|
|
// handle errors returned from `run`
|
|
if let Err(e) = peach_menu::run() {
|
|
error!("Application error: {:?}", e);
|
|
process::exit(1);
|
|
}
|
|
}
|