-
Notifications
You must be signed in to change notification settings - Fork 144
Closed
Description
Summary
Currently if a JSON algod request cannot parse the response, it just returns None:
py-algorand-sdk/algosdk/v2client/algod.py
Lines 81 to 84 in 6b304e4
| try: | |
| return json.load(resp) | |
| except json.JSONDecodeError: | |
| return None |
Scope
We should really return an error message in this case instead.
Urgency
It's important to display the proper error if decoding is unsuccessful.
Metadata
Metadata
Assignees
Labels
No labels