mirror of
https://github.com/NLnetLabs/krill.git
synced 2026-09-30 13:24:52 +02:00
Report krillup error more clearly.
This commit is contained in:
+2
-1
@@ -36,7 +36,8 @@ async fn main() {
|
||||
let config = Arc::new(config);
|
||||
match prepare_upgrade_data_migrations(UpgradeMode::PrepareOnly, config.clone()).await {
|
||||
Err(e) => {
|
||||
error!("{}", e);
|
||||
eprintln!();
|
||||
eprintln!("*** ERROR *** {}", e);
|
||||
::std::process::exit(1);
|
||||
}
|
||||
Ok(opt) => match opt {
|
||||
|
||||
Reference in New Issue
Block a user