Trap Warnings in marc_export for better error reporting
Bug #1502152 reported by
Jason Stephenson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
marc_export currently outputs warning like the below with no indication what record caused the warning:
Record length of 133152 is larger than the MARC spec allows (99999 bytes). at /usr/share/
$SIG{__WARN__} should be trapped in appropriate places to produce a warning message that includes the record type and record id for the record that triggered the warning. This would be similar what is done with the current eval blocks to trap errors from the MARC modules.
Changed in evergreen: | |
assignee: | nobody → Jason Stephenson (jstephenson) |
Changed in evergreen: | |
assignee: | nobody → Galen Charlton (gmc) |
Changed in evergreen: | |
milestone: | 2.next → 2.10-beta |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I am satisfied that my changes work.
Branch pushed to the working repository: user/dyrcona/ lp1502152_ marc_export_ warning_ improvements
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ dyrcona/ lp1502152_ marc_export_ warning_ improvements