Merge pull request #1297 from nymtech/fix/dotenv
Allow .env not to be present
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user