refactor: switch error handle to snafu

This commit is contained in:
2025-04-02 00:22:52 +08:00
parent 011f62829a
commit 234441e6a3
32 changed files with 549 additions and 436 deletions

View File

@@ -1,10 +1,7 @@
use color_eyre::{self, eyre};
use recorder::app::AppBuilder;
use recorder::{app::AppBuilder, errors::RResult};
#[tokio::main]
async fn main() -> eyre::Result<()> {
color_eyre::install()?;
async fn main() -> RResult<()> {
let builder = AppBuilder::from_main_cli(None).await?;
let app = builder.build().await?;