Don't panic when scheduled tasks can't connect to database (#3634)
authorSander Saarend <sander@saarend.com>
Wed, 19 Jul 2023 13:00:44 +0000 (16:00 +0300)
committerGitHub <noreply@github.com>
Wed, 19 Jul 2023 13:00:44 +0000 (15:00 +0200)
commit77a8e3b8979c4c65edb7ba6c7df4907518dc05c5
tree81ba391a6ac19a66c364037fa533caa5f9af276a
parent1f21bdb2f920fc638b8581bb1a89af0c066e0874
Don't panic when scheduled tasks can't connect to database (#3634)

* Don't panic when scheduled tasks can't connect to database

* Use map & map_err instead of match

* Empty commit for Woodpecker re-run
src/scheduled_tasks.rs