]> git.koha-community.org Git - koha.git/commit
Bug 3186 - invalid or uninstalled SMSSendDriver (or bad number format) causes process...
authorOlli-Antti Kivilahti <olli-antti.kivilahti@jns.fi>
Wed, 27 Aug 2014 12:43:59 +0000 (15:43 +0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 30 Oct 2014 04:23:04 +0000 (01:23 -0300)
commit03038897467f811670250977a3889f91cfa24d20
treefe3975e7ccb36609a15f6957e11c2456e85c7e5f
parent6d4c5a9e56a591ee6d51b180b4008d9dbed12cbd
Bug 3186 - invalid or uninstalled SMSSendDriver (or bad number format) causes process_message_queue to fail

This patch wraps the SMS::Send Driver initialization and sending process into an eval block
  and gracefully causes the sending to fail, instead of crashing the process and preventing
  emails and good sms' from being sent.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/SMS.pm