Skip to content

Commit

Permalink
fix: extra )
Browse files Browse the repository at this point in the history
  • Loading branch information
willfarrell authored Nov 8, 2023
1 parent 504c482 commit 4c99241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/http-error-handler/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 4c99241

Please sign in to comment.