From 4c99241b5c92cdeb11484c58b8ba1da3ecf3386c Mon Sep 17 00:00:00 2001 From: will Farrell Date: Tue, 7 Nov 2023 21:20:39 -0700 Subject: [PATCH] fix: extra ) --- packages/http-error-handler/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/http-error-handler/index.js b/packages/http-error-handler/index.js index bcc2f40df..d33c70068 100644 --- a/packages/http-error-handler/index.js +++ b/packages/http-error-handler/index.js @@ -20,7 +20,7 @@ const httpErrorHandlerMiddleware = (opts = {}) => { } // Non-http error OR expose set to false - if (!request.error.expose || !request.error.statusCode)) { + if (!request.error.expose || !request.error.statusCode) { request.error = { statusCode: 500, message: options.fallbackMessage || 'Internal Server Error',