This pull request replaces not so helpful MagickError("failed to resize image") with MagickError(self.get_exception()?.0)
This should in theory provide more helpful error messages. But in some cases there is no exception given when failure happens and user would just see Error: which is even less helpful than before :). I'm creating this pull request to basically propose this change but IDK if its worth it.
This pull request replaces not so helpful
MagickError("failed to resize image")
withMagickError(self.get_exception()?.0)
This should in theory provide more helpful error messages. But in some cases there is no exception given when failure happens and user would just see
Error:
which is even less helpful than before :). I'm creating this pull request to basically propose this change but IDK if its worth it.