From 9287d06ceb32e633971ed022f06da9d01c258797 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Tue, 21 May 2024 10:10:26 -0300 Subject: [PATCH] Bug 36901: Simulate failure for testing purposes Signed-off-by: David Nind --- Koha/BackgroundJob/BatchDeleteItem.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Koha/BackgroundJob/BatchDeleteItem.pm b/Koha/BackgroundJob/BatchDeleteItem.pm index 474450e57b..cab76cb038 100644 --- a/Koha/BackgroundJob/BatchDeleteItem.pm +++ b/Koha/BackgroundJob/BatchDeleteItem.pm @@ -198,7 +198,7 @@ sub process { my $data = $self->decoded_data; $data->{messages} = \@messages; $data->{report} = $report; - + die "Oh no! Died right before storing this success story!"; $self->finish( $data ); } -- 2.39.2