fix: Do not panic if .env is not found.
This commit is contained in:
parent
a6b5171ad8
commit
502170da63
@ -55,7 +55,7 @@ fn setup(args: SetupArgs) -> Result<(), std::io::Error> {
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), std::io::Error> {
|
||||
dotenvy::dotenv().expect("Couldn't load .env file; please make sure to create one in the same directory as executing from!");
|
||||
dotenvy::dotenv().inspect_err(|_| eprintln!("Couldn't load .env file; please make sure to create one in the same directory as executing from!")).ok();
|
||||
|
||||
let cli = Cli::parse();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user