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:22:03 +0000 (16:22 -0400)
commit885c98e1c38b8c3fb09d7ce7ab3dbafa0cfb0b21
tree18df44e24cd5c963bd09f08535d65daa2c25092c
parent57164aaab9ad6d44bc3c8ab4caa740e2c4571f05
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