Skip to content

Commit

Permalink
clarify error message in case of not implemented schema changes (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
hegner authored Sep 15, 2023
1 parent b94d54f commit d402f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/podio_class_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def prepare_iorules(self):
iorule.code = f'{iorule.target} = onfile.{schema_change.member_name_old};'
self.root_schema_iorules.add(iorule)
else:
raise NotImplementedError("Schema evolution for this type not yet implemented")
raise NotImplementedError(f"Schema evolution for {schema_change} not yet implemented.")

def _preprocess_for_obj(self, datatype):
"""Do the preprocessing that is necessary for the Obj classes"""
Expand Down

0 comments on commit d402f74

Please # to comment.