[Koha-bugs] [Bug 32393] background job worker explodes if JSON is incorrect

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 10 13:40:37 CET 2023


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

--- Comment #17 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
        } finally {
            $job->status('failed')->store if $job && @_;

Looks like a typo. Did you mean $@ ? And would testing that be enough or even
appropriate in a finally block ?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list