[Koha-bugs] [Bug 36307] New: SMS::Send driver errors are not captured and stored
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 13 18:16:29 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36307
Bug ID: 36307
Summary: SMS::Send driver errors are not captured and stored
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: kyle at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
If an SMS::Send driver succeeds, it returns a value that evaluates to true.
Every driver I've inspected uses croak when it encounters a failure state.
When an SMS message fails to send, code hard codes the failure code to NO_NOTES
(No notes from SMS driver).
We should store the real error in `failure_code` and display that if the
failure code doesn't match a known failure code.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list