fix(design): preserve command outcome certainty
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user