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>
(cherry picked from commit 8e00746095)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
863d74f915
commit
53ddfb3510
|
|
@ -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 New Issue