fix(design): preserve command outcome certainty

This commit is contained in:
2026-09-03 18:25:06 +08:00
parent 4d8b19eeb5
commit a16dfd0d6f
15 changed files with 576 additions and 23 deletions

View File

@@ -332,6 +332,7 @@ function sendRouteError(res: ServerResponse, error: unknown): void {
status: error.status,
code: error.code,
error: error.message,
...(error.commandOutcome ? { commandOutcome: error.commandOutcome } : {}),
});
return;
}