diff --git a/ogc/bblocks/models.py b/ogc/bblocks/models.py index da5d695..4bec025 100644 --- a/ogc/bblocks/models.py +++ b/ogc/bblocks/models.py @@ -140,7 +140,8 @@ def _load_examples(self): try: jsonschema.validate(examples, get_schema('examples')) except Exception as e: - raise BuildingBlockError('Error validating building block examples (examples.yaml)') from e + raise BuildingBlockError(f'Error validating building block examples (examples.yaml)' + f' for {self.identifier}') from e if isinstance(examples, dict): prefixes = examples.get('prefixes', {})