I can not catch 503(SERVICE_UNAVAILABLE) error when adding a new job to queue #2600
Unanswered
AppleJin512
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Most likely not an issue related to BullMQ. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, This is Chris!
Nice to meet you.
I'm working on nest.js web app with bull + redis.
My problem is that I'm not able to catch 503 error after calling Queue.add function.
I've deployed a redis server on an online ubuntu server and sometimes get 503 error so I'm now emulating this situation on my local machine. For that I didn't install any redis-docker image on local so that I can get 503 error every time.
But the problem is that I can't catch 503 error when calling Queue.add function. I've tried using try-catch block as well as .catch function but both of them are not working.
Can you plz help me?
I'm quite urgent..
Thanks for reading.
Beta Was this translation helpful? Give feedback.
All reactions