From 699c8e372696580f43b4ed5e17bbd06f6f2b828d 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 --- 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 b871acefcf8..3acfc6e252d 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.25.1