fix for 'port already in use' not being implemented, causing panic
This commit is contained in:
@@ -22,5 +22,7 @@ fn main() {
|
||||
std::process::exit(1);
|
||||
}
|
||||
|
||||
server::run(root, port);
|
||||
if let Err(_) = server::run(root, port) {
|
||||
log_error!("Port {} already in use!", port);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user