bdit_data-sources icon indicating copy to clipboard operation
bdit_data-sources copied to clipboard

Handling invalid json responses in wys_api.py #501

Open tahaislam opened this issue 1 year ago • 0 comments

What this pull request accomplishes:

  • It handles the exception json.decoder.JSONDecodeError in wys_api.py by logging the returned error message and passing the exception back to the calling function in order to skip the failing hour

Issue(s) this solves:

  • #501

What, in particular, needs to reviewed:

  • function get_statistics_hourly in wys/api/python/wys_api.py

tahaislam avatar Aug 26 '22 21:08 tahaislam