Fix status handling

This commit is contained in:
Fang-Pen Lin
2025-11-07 09:19:36 -08:00
parent 8aa7594f03
commit 453dc57829
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -251,7 +251,8 @@ export const fastifyErrHandler = fastifyPlugin(async (server: FastifyZodProvider
reqId: req.id,
status: error.status,
type: `urn:ietf:params:acme:error:${error.type}`,
detail: error.detail
detail: error.detail,
message: error.message
// TODO: add subproblems if they exist
});
} else {