Skip to content

Commit

Permalink
better log message about unknown field type
Browse files Browse the repository at this point in the history
  • Loading branch information
thet committed Feb 18, 2015
1 parent 20e0c75 commit 7fa01de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions collective/jsonify/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,8 +552,8 @@ def _enc(val):

else:
raise TypeError(
'Unknown field type for ArchetypesWrapper in %s in %s' % (
fieldname, self.context.absolute_url()))
'ArchetypesWrapper: Unknown field %s (type: %s) at %s' % (
fieldname, type_, self.context.absolute_url()))

def get_references(self):
""" AT references
Expand Down

0 comments on commit 7fa01de

Please sign in to comment.