fix for 'port already in use' not being implemented, causing panic

This commit is contained in:
2026-03-15 19:17:47 +01:00
parent c061763538
commit 2b62b9c272
2 changed files with 13 additions and 4 deletions

View File

@@ -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);
}
}