mirror of
https://github.com/yuzu-emu/liftinstall.git
synced 2024-11-22 12:05:42 +01:00
Gate explicit panic for lack of bindable addresses behind expectation
This commit is contained in:
parent
518565f422
commit
4d3ce45dc4
@ -126,10 +126,7 @@ fn main() {
|
||||
servers.push(server);
|
||||
}
|
||||
|
||||
let http_address = match http_address {
|
||||
Some(v) => v,
|
||||
None => panic!("No HTTP address found"),
|
||||
};
|
||||
let http_address = http_address.log_expect("No HTTP address found");
|
||||
|
||||
let http_address = format!("http://localhost:{}", http_address.port());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user