diff options
Diffstat (limited to '')
| -rw-r--r-- | crates/client/src/main.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/client/src/main.rs b/crates/client/src/main.rs index 51480a7b..05f328e2 100644 --- a/crates/client/src/main.rs +++ b/crates/client/src/main.rs @@ -11,6 +11,7 @@ use clap::builder::styling::{AnsiColor, Effects}; use eyre::Result; use command::AtuinCmd; +use tracing_subscriber::util::SubscriberInitExt; mod command; @@ -59,5 +60,9 @@ impl Atuin { } fn main() -> Result<()> { + if let Err(e) = tracing_subscriber::registry().try_init() { + eprintln!("failed to initialize logging: {e}"); + } + Atuin::parse().run() } |
