cli: Add more descriptive error message (#821)

This commit is contained in:
Maximilian Schneider 2021-10-02 22:27:08 +02:00 committed by GitHub
parent a6bac96ac9
commit 11064f9048
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -1609,7 +1609,10 @@ fn start_test_validator(cfg: &Config, flags: Option<Vec<String>>) -> Result<Chil
count += 1;
}
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()?;
std::process::exit(1);
}