mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Try to fix error handling
This commit is contained in:
@@ -249,7 +249,8 @@ export const fastifyErrHandler = fastifyPlugin(async (server: FastifyZodProvider
|
||||
.status(error.status)
|
||||
.send({
|
||||
reqId: req.id,
|
||||
status: error.status,
|
||||
error: error.name,
|
||||
statusCode: error.status,
|
||||
type: `urn:ietf:params:acme:error:${error.type}`,
|
||||
detail: error.detail,
|
||||
message: error.message
|
||||
|
||||
Reference in New Issue
Block a user