CoucouInc / lambdaCoucou

Industrial strength irc bot for more coucou
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

Prevent complete crash if corrupted record in DB #28

Open geekingfrog opened 3 years ago

geekingfrog commented 3 years ago

For some unknown reason, at some point a remind_at field had the value of 2020-12-01 0(:05:00 which is clearly not a valid date. Currently the bot completely crash in this case. Instead, it should log the raw invalid record, purge it, and recover. Perhaps also send a private message to me so I can have a look.