NestJS: Error Thrown Not Propagating to Frontend, Returns 200 Status Instead
I am working on a NestJS application where I have a controller method that fetches new users from DB. During this process, an error should be thrown under certain conditions. But my frontend desktop app receives a 200 status without the error message. Interestingly, the error is correctly propagated when tested via Swagger.
(@nestjs/swagger": "^6.1.3"
)