Closed hyanwong closed 1 year ago
Easily enough, but what should the response be? Ignore the rows so r.sponsorship_ends == None
means never expires?
@lentinj yes I think that's right - just skip those cases.
Probably these will never occur in future once the other issues re. setting of r.sponsorship_ends are fixed
Done with the above, but waiting behind https://github.com/OneZoom/OZtree/pull/666
It's part of #666 now.
When running
grunt exec:background_tasks:localhost:dry-run:log-email:verbose
, a bad row in out database has a sponsorship_ends value of NULL, and therefore we get the following error:It would be good to be robust to this somehow. Can we add it as a unit test @lentinj ?