Skip to content

Commit

Permalink
smol fix
Browse files Browse the repository at this point in the history
  • Loading branch information
erhant committed Oct 3, 2024
1 parent 5602973 commit d912723
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ use eyre::{Context, Result};

#[tokio::main]
async fn main() -> Result<()> {
env_logger::try_init().wrap_err("could not initialize env_logger")?;
color_eyre::install().wrap_err("could not install color_eyre")?;

if let Err(e) = dotenvy::dotenv() {
log::warn!("Could not load .env file: {}", e);
}

env_logger::try_init().wrap_err("could not initialize env_logger")?;
color_eyre::install()?;
dkn_oracle::cli().await?;

Ok(())
Expand Down

0 comments on commit d912723

Please sign in to comment.