Browse Source

cli: Add more descriptive error message (#821)

Maximilian Schneider 4 years ago
parent
commit
11064f9048
1 changed files with 4 additions and 1 deletions
  1. 4 1
      cli/src/lib.rs

+ 4 - 1
cli/src/lib.rs

@@ -1609,7 +1609,10 @@ fn start_test_validator(cfg: &Config, flags: Option<Vec<String>>) -> Result<Chil
         count += 1;
         count += 1;
     }
     }
     if count == ms_wait {
     if count == ms_wait {
-        eprintln!("Unable to start test validator.");
+        eprintln!(
+            "Unable to start test validator. Check {} for errors.",
+            test_ledger_log_filename
+        );
         validator_handle.kill()?;
         validator_handle.kill()?;
         std::process::exit(1);
         std::process::exit(1);
     }
     }