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

Vastly improve the schema mismatch exception. #69

Merged
merged 2 commits into from
Feb 14, 2016

Conversation

mithrandi
Copy link
Contributor

Fixes #55.

The new exception message looks like this:

exceptions.RuntimeError: Schema mismatch on already-loaded <class 'axiom.test.test_xatop.TestItem'> <'TestItem'> object version 1:
Only on disk:
('bar', 'VARCHAR(64) (this is made up)')
Only in memory:
('bar', 'TEXT COLLATE NOCASE')

@jonathanj
Copy link

Wow, that's huge improvement! The code looks good to me, please merge.

mithrandi added a commit that referenced this pull request Feb 14, 2016
Vastly improve the schema mismatch exception.
@mithrandi mithrandi merged commit 2b83fa3 into master Feb 14, 2016
@mithrandi mithrandi deleted the 55-better-schema-mismatch branch February 14, 2016 15:12
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

Successfully merging this pull request may close these issues.

None yet

2 participants