https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39215 --- Comment #8 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 201908 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201908&action=edit Bug 39215: (follow-up) Tag search engine errors in EDIFACT biblio-creation failures AddBiblio failures during EDIFACT quote processing (e.g. a failed authority auto-link lookup or post-store index update) and failures caused by bad quote data look identical in the EDIFACT error report - both are just whatever text AddBiblio happened to warn(). This makes it hard to tell, without re-investigating from scratch each time, whether a recurring failure is a search engine (Elasticsearch/Zebra) problem or a data problem. Add _looks_like_search_engine_error() to pattern-match the captured warning against known search engine exception signatures (Search::Elasticsearch, NoNodes, ZOOM::Exception) and prefix matching messages with "[SEARCH ENGINE ERROR]" in the logged detail, while preserving the full original text. Also add a fallback message for the case where AddBiblio's failure captured no warning text at all, so that case isn't silently unexplained. -- You are receiving this mail because: You are watching all bug changes.