Skip to content

Commit 79af4f1

Browse files
committed
Fix bblock id output
1 parent 2436911 commit 79af4f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ogc/bblocks/validation/json_.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def validate(self, filename: Path, output_filename: Path, report: ValidationRepo
195195
except Exception as e:
196196
if not isinstance(e, jsonschema.exceptions.ValidationError):
197197
print(f'Unexpected error encountered when validating '
198-
f'resource {os.path.relpath(filename)} for {self.bblock}:',
198+
f'resource {os.path.relpath(filename)} for {self.bblock.identifier}:',
199199
file=sys.stderr)
200200
traceback.print_exception(e)
201201
report.add_entry(ValidationReportEntry(

0 commit comments

Comments
 (0)