Improve error handling #11

Open
opened 2024-05-30 21:36:56 +00:00 by eloy · 0 comments
eloy commented 2024-05-30 21:36:56 +00:00 (Migrated from git.foxo.me)

Currently I have the bot wrapped in an infinite while loop shell script because it sometimes does not handle errors well. I would suggest running the code inside threads and restarting them if they crash. Since we are dealing with some external proprietary API I think that handling all errors well is not feasible.

Currently I have the bot wrapped in an infinite while loop shell script because it sometimes does not handle errors well. I would suggest running the code inside threads and restarting them if they crash. Since we are dealing with some external proprietary API I think that handling all errors well is not feasible.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: foxo/printer_bot#11
No description provided.