https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38299 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #174256|0 |1 is obsolete| | --- Comment #10 from David Nind <david@davidnind.com> --- Created attachment 174292 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=174292&action=edit Bug 38299: Use say_failure when printing update errors to the console Bug 35681 added subroutines to print colored output from database updates. Incorporate the subroutine say_failure into the error handling in the upstream code, so that errors caught upstream can take advantage of this new subroutine and display in red. To test: 1. Apply patch for test dbrev 2. From the kshell, run updatedatabase --> The messages for success, info, warning, and failure that were explicitly printed in the dbrev are colored, but the database error is not colored. 3. Apply other patches 4. Run updatedatabase again --> All messages including the database error are now colored Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.