Skip to content

Commit

Permalink
Improve import traceback
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Oct 30, 2020
1 parent c3b5cfa commit 3c18f53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/plone/restapi/deserializer/dxcontent.py
Expand Up @@ -84,6 +84,7 @@ def get_schema_data(self, data, validate_all):
write_permissions = mergedTaggedValueDict(schema, WRITE_PERMISSIONS_KEY)

for name, field in getFields(schema).items():
__traceback_info__ = "field={}".format(field)

field_data = schema_data.setdefault(schema, {})

Expand Down

0 comments on commit 3c18f53

Please sign in to comment.