diff --git a/Cargo.lock b/Cargo.lock index 661a987..e8cd32c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1919,7 +1919,7 @@ dependencies = [ [[package]] name = "rs_machine_input_chirho" -version = "0.1.0" +version = "0.1.1" dependencies = [ "chrono", "clap", diff --git a/Cargo.toml b/Cargo.toml index 127a6d5..53964ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ # For God so loved the world, that He gave His only begotten Son, that all who believe in Him should not perish but have everlasting life [package] name = "rs_machine_input_chirho" -version = "0.1.0" +version = "0.1.1" edition = "2021" authors = ["Love Jesus "] description = "A command-line tool to synchronize computer resource information with a remote database" diff --git a/src/main.rs b/src/main.rs index 832e895..f51fb8a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -46,7 +46,10 @@ fn index() -> &'static str { #[launch] fn rocket_chirho() -> _ { - dotenvy::from_filename(".env_chirho").expect("Failed to load .env file"); + match dotenvy::from_filename(".env_chirho") { + Ok(_) => (), + Err(e_chirho) => eprintln!("Likely no .env_chirho file found {}", e_chirho), + }; let cli_chirho = CliChirho::parse();