https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35141

--- Comment #1 from Nick Clemens <[email protected]> ---
Created attachment 157738
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157738&action=edit
Bug 35141: Catch ES search exceptions in link_bibs_to_authorities, warn, and
continue

This patch simplay adds an eval and a warning to link_bibs_to_authorities to
catch any errors while searching and continue linking.

To test:
1 - edit /etc/kohia/sites/kohadev/koha-conf.xml and add to elasticsearch stanza
    <request_timeout>0</request_timeout>
2 - perl misc/link_bibs_to_authorities.pl
3 - It dies immediately
4 - Apply patch
5 - perl misc/link_bibs_to_authorities.pl
6 - Now it tries every record, throwing warnings along the way, but completes

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to