]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Serials: change more carp() to croak() to avoid infinite loops
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 13 Feb 2013 15:34:17 +0000 (10:34 -0500)
committerDan Wells <dbw2@calvin.edu>
Thu, 21 Feb 2013 18:57:50 +0000 (13:57 -0500)
commit12751e0cb7556a9dd23abdfddf1ad70bb3184c70
treec2bc41678c763dc8baee5ef2d82ee2527c52b8f1
parent22ecbbdb62926cb110f5a23526d889f7f2ffa776
Serials: change more carp() to croak() to avoid infinite loops

This addresses a problem very similar to that in LP #1075167, where
certain loops never end because problems with the data elicited calls to
carp(), which fills up log, but never gives our loops notice to end.

Visible symptoms include 1) a greate volume of log spew and 2) an
open-ils.serial drone that ties up a CPU.

The fault lies maybe in our loops rather than in the MFHD
package, but this fixes the problem fastest, and should not have
undesirable side-effects.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/perlmods/lib/OpenILS/Utils/MFHD/Caption.pm