Get 500 error on client side but 403 in terminal for the backend

My workaround here was to overwrite functions and replace ValidationError and ApplicationError code with:

      return ctx.badRequest("The error message");

An ugly solution though.