CodeWithAsheville / court-notifications

GNU General Public License v3.0
11 stars 10 forks source link

12/18/2021: Fix error handling in purge-and-update-subscriptions.js so records are actually purged #119

Closed ejaxon closed 2 years ago

ejaxon commented 2 years ago

Bug Report

If the attempt to notify a user that they have no more subscriptions fails, we don't catch the error in that notification loop and so never actually delete, which means we hit the error every day when the purge script runs.

Also means we're missing the update piece.

This affects both main and staging branches.