Fix reminders in error 500 when error_msg is None
Merge pull request #1805 from dimagi/reminders-in-error-500

Fix reminders in error 500 when error_msg is None