Skip to content

Commit

Permalink
Merge pull request #504 from RockefellerArchiveCenter/issue-502
Browse files Browse the repository at this point in the history
Update exception reporting for object mergers
  • Loading branch information
helrond authored May 16, 2022
2 parents ceeac7f + 08f18d7 commit 6c5a333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion merger/mergers.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def append_to_list(extents, extent_type, extent_number):
extent_number = 1
extents = append_to_list(extents, extent_type.strip(), extent_number)
except Exception as e:
raise Exception("Error parsing instances") from e
raise Exception(f"Error parsing instances: {e}") from e
return extents

def get_position(self, object):
Expand Down

0 comments on commit 6c5a333

Please sign in to comment.