Skip to content

Incorrect Exception Message in send_request() of client.py #253

Closed
@6reend0g

Description

@6reend0g

When reviewing the client.py code at line 2216, I noticed the following:

raise TimeoutException('**Did** not receive response in time. %s time has expired (timeout=%.3f sec)' %)

The term "Did" seems to be a typo or a misrepresentation. Based on the context, "Sid" might be more appropriate. However, to make the message more accurate and universally applicable, I suggest replacing it with "Service."

Here’s why:
This exception is raised whenever a diagnostic request times out, regardless of the specific Sid (e.g., 22 or 2E services, which are related to DIDs). The term "Service" would better reflect that the timeout applies broadly to any diagnostic service, not just DID-related ones.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions