From 53ddfb35104632ab34d6e6dfb3fd547dc648f445 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 (cherry picked from commit 8e0074609543a46110bbaf786aa760c20531840f) Signed-off-by: Martin Renvoize --- 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 0b93fcdf81..89e3b5cb0f 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