#exceptions handlers in nestjs microservices

5 messages · Page 1 of 1 (latest)

humble delta
#

Hello everyone

How can I get an exception from a microservice in getaway if I have an event driven application and use rabbitmq as a broker?

#

help me please

dense robin
#

Exceptions don't propagate automatically.
If you need to handle an exception from your microservice in your gateway and then communicate it to your user, you will need to read the error response in your gateway and decide how to respond to the user.