Skip to content

Commit

Permalink
Abort and log if missing resources
Browse files Browse the repository at this point in the history
  • Loading branch information
kwahlin committed Sep 28, 2023
1 parent 111f421 commit a24fa00
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ class ContributionByRoleStep extends MarcFramePostProcStepBase {
}

void modify(Map record, Map thing) {
if (!relatorLinker || !instanceRelators) {
log.error("Conversion failed: Missing required resources")
return
}
moveRoles(thing)
}

Expand Down

0 comments on commit a24fa00

Please sign in to comment.