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

--- Comment #10 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 201395
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201395&action=edit
Bug 42047: (QA follow-up) Guard against invalid html_scrubber.yaml

override_default_settings runs when C4::Scrubber is first loaded, so an
unhandled YAML parse error (e.g. a typo in a hand-edited
html_scrubber.yaml) would previously abort compilation of the module
and take down every page that uses it.

Wrap the load in try/catch so a broken override file falls back to the
built-in scrubber defaults instead, and carp a warning identifying the
file so the problem is visible in the logs.

-- 
You are receiving this mail because:
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