View | Details | Raw Unified | Return to bug 36901
Collapse All | Expand All

(-)a/misc/workers/background_jobs_worker.pl (-2 / +3 lines)
Lines 202-209 $pm->wait_all_children; Link Here
202
sub process_job {
202
sub process_job {
203
    my ( $job, $args ) = @_;
203
    my ( $job, $args ) = @_;
204
    try {
204
    try {
205
        $job->process( $args );
205
        $job->process($args);
206
    } catch {
206
    } catch {
207
        Koha::Logger->get( { interface => 'worker' } )
208
            ->warn( sprintf "Uncaught exception processing job id=%s: %s", $job->id, $_ );
207
        $job->status('failed')->store;
209
        $job->status('failed')->store;
208
    };
210
    };
209
}
211
}
210
- 

Return to bug 36901