mirror of
https://github.com/yuzu-emu/liftinstall.git
synced 2024-11-26 02:05:51 +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);
|
servers.push(server);
|
||||||
}
|
}
|
||||||
|
|
||||||
let http_address = match http_address {
|
let http_address = http_address.log_expect("No HTTP address found");
|
||||||
Some(v) => v,
|
|
||||||
None => panic!("No HTTP address found"),
|
|
||||||
};
|
|
||||||
|
|
||||||
let http_address = format!("http://localhost:{}", http_address.port());
|
let http_address = format!("http://localhost:{}", http_address.port());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user