Switched from anyhow to color_eyre

This commit is contained in:
2025-04-21 23:54:07 +02:00
parent 41efea3a98
commit 46ea8e2cd7
4 changed files with 84 additions and 30 deletions

View File

@@ -35,7 +35,9 @@ async fn log_status<T>(
}
#[tokio::main]
async fn main() -> anyhow::Result<()> {
async fn main() -> color_eyre::Result<()> {
color_eyre::install()?;
let env_filter = EnvFilter::try_from_default_env()
.or_else(|_| EnvFilter::try_new("info"))
.expect("Fallback should be valid");