]> 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)
committerMason James <mtj@kohaaloha.com>
Wed, 25 Feb 2015 11:52:42 +0000 (00:52 +1300)
commit21e9e1ec7d90ddab19886bd8014bf9ab87e72c22
tree607bffebe6e9c9aefe256e2093884f6f56ac9c3b
parenta914ca478bfb50d628e40632f6bfe21a4578d960
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: Mason James <mtj@kohaaloha.com>
C4/SMS.pm