evanshortiss/express-joi-validation

When validating response, cannot use next(err)

mattknappchhj opened this issue · 0 comments

Hi,

I am trying to validate the response from my Express API but I am running into some issues with the library.

Specifically, when I include the validation of the response object, I am unable to catch errors in my endpoint and process them with a different error handler.

Is there a way to bypass the response validation if there is an internal error in my endpoint?