Don't unwrap without message on failure to start SUID/SGID tokio
All checks were successful
Build and test / check-license (push) Successful in 55s
Build and test / check (push) Successful in 2m39s
Build and test / build (push) Successful in 2m54s
Build and test / test (push) Successful in 3m5s
Build and test / docs (push) Successful in 6m29s

This commit is contained in:
2025-12-17 05:46:05 +09:00
parent 340428c158
commit 1f78ca0e25

View File

@@ -290,7 +290,7 @@ fn run_forked_server(
let result: anyhow::Result<()> = tokio::runtime::Builder::new_current_thread()
.enable_all()
.build()
.unwrap()
.context("Failed to start Tokio runtime")?
.block_on(async {
let socket = TokioUnixStream::from_std(server_socket)?;
let db_pool = construct_single_connection_mysql_pool(&config.mysql).await?;