From: Nick Clemens Date: Thu, 2 Mar 2023 13:44:34 +0000 (+0000) Subject: Bug 33108: (follow-up) Don't die, only warn if not using ES X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=8e0074609543a46110bbaf786aa760c20531840f;p=srvgit Bug 33108: (follow-up) Don't die, only warn if not using ES Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- 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' });