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

wand.exceptions.WandError gets overwritten #292

mcirello opened this issue Jun 2, 2016 · 1 comment

wand.exceptions.WandError gets overwritten #292

mcirello opened this issue Jun 2, 2016 · 1 comment


Copy link

@mcirello mcirello commented Jun 2, 2016

In you have an entry in the domain map:

 ('Wand', 'There was a problem specific to the MagickWand API.', (),
     [370, 470, 770]),

This creates a "WandError" that overwrites the base class WandError. So this doesn't work:

import wand.exceptions

  raise wand.exceptions.CoderError
except wand.exceptions.WandError:
dahlia added a commit that referenced this issue Jun 3, 2016
Copy link

@mlissner mlissner commented Aug 30, 2016

Just got bit by this too and wasted some time trying to figure out why I couldn't catch an exception.

If the fix is in and we can get the memory fixed in #300, can we do a release?

@dahlia dahlia added the bug label Sep 17, 2016
@dahlia dahlia closed this in b589ec8 Oct 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants