Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Poor Field Assignment Errors #8

Closed
hiwaylon opened this issue Dec 9, 2011 · 1 comment
Closed

Poor Field Assignment Errors #8

hiwaylon opened this issue Dec 9, 2011 · 1 comment

Comments

@hiwaylon
Copy link

hiwaylon commented Dec 9, 2011

Description

The error reporting for invalid field assignments is poor. For example, when assigning a string to a unicode field, it should report which field is incorrect.

Currently you receive this:
TypeError: Invalid type <type 'str'> instead of <type 'unicode'>

This is not helpful.

@joshmarshall
Copy link
Owner

Added field name to exception.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants