Ensure table name is in error message stack
This commit is contained in:
parent
7fc2e37e41
commit
e2a859d649
@ -123,8 +123,12 @@ class Merger(object):
|
|||||||
self.ttfs = master_ttfs # For error reporting
|
self.ttfs = master_ttfs # For error reporting
|
||||||
for tag in tableTags:
|
for tag in tableTags:
|
||||||
if tag not in font: continue
|
if tag not in font: continue
|
||||||
self.mergeThings(font[tag], [m[tag] if tag in m else None
|
try:
|
||||||
for m in master_ttfs])
|
self.mergeThings(font[tag], [m[tag] if tag in m else None
|
||||||
|
for m in master_ttfs])
|
||||||
|
except Exception as e:
|
||||||
|
e.args = e.args + (tag,)
|
||||||
|
raise
|
||||||
|
|
||||||
#
|
#
|
||||||
# Aligning merger
|
# Aligning merger
|
||||||
|
Loading…
x
Reference in New Issue
Block a user