]> git.evergreen-ils.org Git - contrib/Conifer.git/commit
LP 1350345: marc_export blows up on bad records.
authorJason Stephenson <jstephenson@mvlc.org>
Wed, 30 Jul 2014 13:26:38 +0000 (09:26 -0400)
committerBen Shum <bshum@biblio.org>
Thu, 18 Sep 2014 20:21:58 +0000 (16:21 -0400)
commitdce8be16c399e8fe61c29c07c5b4dc85139db72e
tree29ff4d856ba464e1137dc2d1ef14ca57c0d6ffac
parent1708f88f5f87bf895469725d631192239e22fd58
LP 1350345: marc_export blows up on bad records.

Add some eval blocks around calls to MARC::Record->as_usmarc and
MARC::Record->as_xml_record to trap errors in bibliograpic and
authority records.

If MARC::Record reports an error, print the record id and the
error message and continue the export.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/support-scripts/marc_export.in