Added a profound error message in case DNS servers could not bind.
This commit is contained in:
+1
-2
@@ -69,11 +69,10 @@ fn main() {
|
||||
if let Some(settings) = Settings::load(&path) {
|
||||
let string = toml::to_string(&settings).unwrap();
|
||||
println!("{}", &string);
|
||||
return;
|
||||
} else {
|
||||
println!("Error loading config for upgrade!");
|
||||
return;
|
||||
}
|
||||
return;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user