Ignore "not following" errors in twitter DMs
authorMagnus Hagander <magnus@hagander.net>
Mon, 29 Oct 2018 12:22:10 +0000 (13:22 +0100)
committerMagnus Hagander <magnus@hagander.net>
Mon, 29 Oct 2018 12:22:10 +0000 (13:22 +0100)
commit37471cbefab024d35ac3cdfa5e329cca940a3615
tree9efda27ca9ab978e8cd0c7ef85bb453629da76cf
parent0fb7448eb4465fb0c1b550ce8cbdfd1bd7a5681d
Ignore "not following" errors in twitter DMs

When the cronjob tries to send a twitter DM for example to a speaker, it
fails if that user is not following the conference account. This is a
normal state, and in this case we should just ignore the message rather
than throw an error.
postgresqleu/confreg/backendviews.py
postgresqleu/confreg/management/commands/confreg_frequent_reminders.py
postgresqleu/util/messaging/twitter.py