Scheduled Worker failed(?) halfway but no errors shown.
Hi all! I'm facing the a problem with scheduled worker that runs every minute, The worker does the following:
Issue faced:
- Query an API that returns ~1000 data points
- Loop through the data points and see if we find any thing that match a certain criteria
- If yes, send a message to Telegram (bot) & discord (using webhook)
---
Currently, if I comment out the discord bot code, the code works fine. However, when I enable sending messages to discord, it fails. How do I know it fails?
Issue faced:
- When I look at worker dashboard, I can see the requests sent, but the errors are 0
- When I try to look at Real Time logs, it doesn't show up.
- When I look at cron events tab, I can see the cron is triggered.
- When running locally, everything is working as expected.