We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
libtaxii.clients.call_taxii_service2 catches urllib2.HTTPError and returns it as a normal result (https://github.com/TAXIIProject/libtaxii/blob/master/libtaxii/clients.py#L344). This way the exception is masked and user is forced to check returned object type.
libtaxii.clients.call_taxii_service2
urllib2.HTTPError
A pythonistic and simple solution here would be to re-raise this exception as is or wrapped in custom libtaxii-specific exception.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
libtaxii.clients.call_taxii_service2
catchesurllib2.HTTPError
and returns it as a normal result (https://github.com/TAXIIProject/libtaxii/blob/master/libtaxii/clients.py#L344). This way the exception is masked and user is forced to check returned object type.A pythonistic and simple solution here would be to re-raise this exception as is or wrapped in custom libtaxii-specific exception.
The text was updated successfully, but these errors were encountered: