Skip to content

Commit 41eb13d

Browse files
committed
a
1 parent dc6eb53 commit 41eb13d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sfnttools/font.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def __setitem__(self, tag: Any, table: Any):
153153

154154
table_type = TABLE_TYPE_REGISTRY.get(tag, SfntTable)
155155
if not isinstance(table, table_type):
156-
raise ValueError('bad table type')
156+
raise ValueError(f'bad table type for tag {repr(tag)}')
157157

158158
super().__setitem__(tag, table)
159159

0 commit comments

Comments
 (0)