GrafeasGroup / buttercup

Our personal assistant in Discord
MIT License
5 stars 2 forks source link

Catch errors during the queue update loop #169

Closed TimJentzsch closed 2 years ago

TimJentzsch commented 2 years ago

Relevant issue: #167 (Will be closed when fix is confirmed)

Description:

This is an attempt to make the queue updates for the /queue command more robust. So far, the updates always stopped after a couple of hours.

My guess is that a Discord or Blossom error occurred and the update loop crashed.

With this PR, Blossom and Discord servers are logged and then ignored, which I'm hoping will fix the problem.

Checklist: