hypha: enhanced logging and always enable backtraces

This commit is contained in:
Alex Zenla
2024-01-30 20:22:48 -08:00
parent bb77e651e0
commit b6af5f54bd
3 changed files with 6 additions and 5 deletions

View File

@ -1,3 +1,4 @@
use std::env;
use anyhow::{anyhow, Result};
use clap::{Parser, Subcommand};
use hypha::ctl::Controller;
@ -46,6 +47,7 @@ enum Commands {
}
fn main() -> Result<()> {
env::set_var("RUST_BACKTRACE", "1");
env_logger::init();
let args = ControllerArgs::parse();