Skip to content

Decoding JSON response errors should include the URL #1031

Description

@kartiksubbarao

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions