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

--- Comment #2 from Tomás Cohen Arazi <[email protected]> ---
(In reply to Jonathan Druart from comment #1)
> We are actually not supposed to hit that.
> 
> If the job is correctly written it will deal with the different situations
> and log when need to be logged.
> 
> But yes, we never know and we should at least log the exception to the log
> file.

Yes.

All jobs that are core to Koha implement a try/catch block, but ultimately call
`    $self->finish( $data );` which can fail! Something to revisit, as the job
might have been successful but the worker marking it as failed because of DB
connection issues.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to