From 8e0074609543a46110bbaf786aa760c20531840f Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 2 Mar 2023 13:44:34 +0000 Subject: [PATCH] Bug 33108: (follow-up) Don't die, only warn if not using ES Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- misc/workers/es_indexer_daemon.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/workers/es_indexer_daemon.pl b/misc/workers/es_indexer_daemon.pl index b871acefcf..3acfc6e252 100755 --- a/misc/workers/es_indexer_daemon.pl +++ b/misc/workers/es_indexer_daemon.pl @@ -73,7 +73,7 @@ pod2usage(0) if $help; $batch_size //= 10; -die "Not using Elasticsearch" unless C4::Context->preference('SearchEngine') eq 'Elasticsearch'; +warn "Not using Elasticsearch" unless C4::Context->preference('SearchEngine') eq 'Elasticsearch'; my $logger = Koha::Logger->get({ interface => 'worker' }); -- 2.39.5