refactor: centralize startup server preflight (#3459)

This commit is contained in:
安正超
2026-06-15 08:32:44 +08:00
committed by GitHub
parent 2288b1bb63
commit 513f06f268
5 changed files with 229 additions and 137 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ mod tests {
"fn emit_fatal_stderr(context: &str, error: impl std::fmt::Display)",
"emit_fatal_stderr(\"Server runtime failed\", e)",
"emit_fatal_stderr(\"Command parse failed\", e)",
"emit_fatal_stderr(\"Observability initialization failed\", &e)",
"emit_fatal_stderr(\"Observability initialization failed\", err)",
],
);
}