From c513d5972490272c9455df597308fb2e665da987 Mon Sep 17 00:00:00 2001 From: tommy Date: Tue, 31 May 2022 17:01:02 +0100 Subject: [PATCH] allow dotenv not to be present --- validator-api/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validator-api/src/main.rs b/validator-api/src/main.rs index 461d11ab51..c4750afad1 100644 --- a/validator-api/src/main.rs +++ b/validator-api/src/main.rs @@ -590,7 +590,7 @@ async fn run_validator_api(matches: ArgMatches<'static>) -> Result<()> { async fn main() -> Result<()> { println!("Starting validator api..."); - dotenv::dotenv()?; + dotenv::dotenv(); cfg_if::cfg_if! {if #[cfg(feature = "console-subscriber")] { // instriment tokio console subscriber needs RUSTFLAGS="--cfg tokio_unstable" at build time