https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36901 --- Comment #2 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (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.