Bug 11826: (follow-up) enable printing warnings
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 12 May 2014 10:47:01 +0000 (12:47 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 26 May 2014 03:52:46 +0000 (03:52 +0000)
commitbb961cbba665551ede2d567f61c71b694f3195a4
treea8772e15d7650e90486afb0cf011e91a0dfa467b
parent3bcc0321812b153e3a487c65a1bd0edd75172f03
Bug 11826: (follow-up) enable printing warnings

Conform former (implicit) behavior the handler now prints warnings by
default (via STDERR to logfile).
This can be adjusted by: $engine->print_warns(0);

Test plan:
Generate some error on a XSLT file (e.g. wrong path).
Check if your log contains the associated error(s)/warning(s).

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Koha/XSLT_Handler.pm