Bug 33108: (follow-up) Don't die, only warn if not using ES
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
84460798f0
commit
8e00746095
1 changed files with 1 additions and 1 deletions
|
@ -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' });
|
||||
|
||||
|
|
Loading…
Reference in a new issue