Don't terminate if only one listener fails
This commit is contained in:
parent
889eb524b3
commit
bfef938202
|
@ -193,10 +193,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
info!(port, "listening");
|
||||
match run_listener(spaces, port, config).await {
|
||||
Ok(()) => (),
|
||||
Err(e) => {
|
||||
error!("{}", e);
|
||||
std::process::exit(2)
|
||||
}
|
||||
Err(e) => error!("{}", e),
|
||||
}
|
||||
}.instrument(tracing::info_span!("listener", port))));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue