Bug 24374 - Make SMS-errors from process_message_queue.pl more informational
Summary: Make SMS-errors from process_message_queue.pl more informational
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-08 14:11 UTC by Magnus Enger
Modified: 2020-01-08 14:11 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Enger 2020-01-08 14:11:25 UTC
The Debian packages run process_message_queue.pl thusly:

  koha-foreach --chdir --enabled --email /usr/share/koha/bin/cronjobs/process_message_queue.pl

This can result in errors like this in an email to the server admin: 

Cannot use regional phone numbers with an international driver at
/usr/share/koha/lib/C4/SMS.pm line 120.

Not very informative... It would be great if we could add the actual SMS number that failed, as well as the name of the Koha instance/site where it came from.