Skip to content

Enhance the debugging output inside of __plenty_api_request #4

@initBasti

Description

@initBasti

We could print out the full endpoint, which was used for a request with print(raw_response.request.url). I found this to be more useful, as it shows potential problems more directly. The question is: "are the other prints for the endpoint and the params useful enough to keep them in, or should they go?"
A current pro is, that they would be able to show a malfunction of utils.build_endpoint, but in any other case they seem to just duplicate the output of raw_response.request.url with less information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions