[Koha-bugs] [Bug 28221] New: Script process_message_queue.pl uses Try::Tiny but doesn't 'use' it

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 26 12:35:37 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28221

            Bug ID: 28221
           Summary: Script process_message_queue.pl uses Try::Tiny but
                    doesn't 'use' it
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          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

The message queue processor has a try/catch block, but does not have a 'use
Try::Tiny' line. Because of this the following error ocurrs if an instance has
any plugins installed that use the before_send_messages hook:

Can't locate object method "catch" via package "1" (perhaps you forgot to load
"1"?) at /usr/share/koha/bin/cronjobs/process_message_queue.pl line 86.

-- 
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