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
When external API's return non-200 status codes, a JSON deserialization error is thrown. This can be seen in issue #64.
Expected behavior is a relevant network error message for the user to act accordingly upon.
The problem can be seen in the following lines (can also be seen in the other fetchers)
carbontracker/carbontracker/emissions/intensity/fetchers/energidataservice.py
Lines 43 to 48 in 2d2b34d
response.json()
CarbonIntensityFetcherError
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When external API's return non-200 status codes, a JSON deserialization error is thrown.
This can be seen in issue #64.
Expected behavior is a relevant network error message for the user to act accordingly upon.
The problem can be seen in the following lines (can also be seen in the other fetchers)
carbontracker/carbontracker/emissions/intensity/fetchers/energidataservice.py
Lines 43 to 48 in 2d2b34d
The code throws an exception when computing
response.json()
, and thus does not raise aCarbonIntensityFetcherError
as intended.The text was updated successfully, but these errors were encountered: