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
The following line in iter_job_results() method prevents API errors from being properly returned:
iter_job_results()
https://github.com/PaloAltoNetworks/pan-cortex-data-lake-python/blob/master/pan_cortex_data_lake/query.py#L239
Like successful responses, failed/error responses from the API should be passed to the client.
In iter_job_results(), failed API responses are not returned to the client due to the raised exception.
Refrain from raising an exception for non HTTP status 200 responses.
The text was updated successfully, but these errors were encountered:
sserrata
No branches or pull requests
Describe the bug
The following line in
iter_job_results()
method prevents API errors from being properly returned:https://github.com/PaloAltoNetworks/pan-cortex-data-lake-python/blob/master/pan_cortex_data_lake/query.py#L239
Expected behavior
Like successful responses, failed/error responses from the API should be passed to the client.
Current behavior
In
iter_job_results()
, failed API responses are not returned to the client due to the raised exception.Possible solution
Refrain from raising an exception for non HTTP status 200 responses.
Steps to reproduce
Screenshots
Context
Your Environment
The text was updated successfully, but these errors were encountered: