summaryrefslogtreecommitdiff
path: root/cli/args/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/args/mod.rs')
-rw-r--r--cli/args/mod.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/cli/args/mod.rs b/cli/args/mod.rs
index 2657ed385..1fdd2f503 100644
--- a/cli/args/mod.rs
+++ b/cli/args/mod.rs
@@ -725,7 +725,11 @@ impl CliOptions {
if let Some(env_file_name) = &flags.env_file {
if (from_filename(env_file_name)).is_err() {
- bail!("Unable to load '{env_file_name}' environment variable file")
+ log::info!(
+ "{} The `--env` flag was used, but the dotenv file '{}' was not found.",
+ colors::yellow("Warning"),
+ env_file_name
+ );
}
}