Decoding JSON response errors should include the URL
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 72/100
Research direction
Start in base.py at the JSON response decoding log, then search for other JSON decoding errors where URL context may help. Review how full_url is available at each location and update the relevant messages to include it. Done means the affected error logs identify the response URL without changing the underlying error handling.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
In base.py, errors when decoding JSON responses don't include the URL:
logger.error("Error decoding json response: %s", e)
This can make it very difficult to troubleshoot corner-case issues.
Describe the solution you'd like
Include the URL. In this case, something like this would be very helpful:
logger.error("Error decoding json response [%s]: %s", full_url, e)
Please identify all such places where URL context is helpful and include the URL.
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 362
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from massive-com/client-python
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 72/100
massive-com/client-python#876 · 1 comment ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
massive-com/client-python#1029 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
massive-com/client-python#1028 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 55/100
massive-com/client-python#1022 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 50/100
massive-com/client-python#1016 ·
All issues in massive-com/client-python
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100