Failed scheduled reminders should log message somewhere more useful
Overview
A failed schedule reminder should log the error in a place that the end user can see why it failed.
Example use-case
A schedule reminder is set up to send an SMS to a contact with a bad phone number. The reminder will fail, and a message will be added to table civicrm_action_log. The user who set up the reminder will not know whether it failed, or why, since they cannot view database tables.
Proposed behaviour
I propose a couple of alternatives:
- The error message should be logged as an activity, either against the creator of the schedule reminder or the target. Then the user can check for this. Or
- The error message should be written to the system log, so at least someone with the 'Log Viewer' extension could see it.
Comments
My preference would be the first of the alternatives. There are a number of questions on SE about analysing failed Schedule Reminders - this would be a help with that.