Skip to content

Commit

Permalink
Merge pull request #505 from RockefellerArchiveCenter/development
Browse files Browse the repository at this point in the history
Improve exception reporting for object mergers
  • Loading branch information
helrond authored May 19, 2022
2 parents 0680f02 + 6c5a333 commit ac7dc71
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 ac7dc71

Please sign in to comment.