Files
feresaria/portal/src/record_main.rs
T

14 lines
331 B
Rust

mod recorder;
mod recording;
fn main() {
if let Err(error) = tokio::runtime::Runtime::new().and_then(|runtime| {
runtime
.block_on(recorder::run())
.map_err(std::io::Error::other)
}) {
recorder::event("error", Some(&error.to_string()), None);
std::process::exit(1);
}
}