Skip to content

Have a way to retrieve the original error on defunct connection ? #463

@prevostc

Description

@prevostc

Suggestion

I noticed the _set_defunct method of the bolt protocol files completely hides the underlying error message:

In my case I get a OSError from IncomingMessage:

When I get this "Failed to read from defunct connection" error, I don't really know what to do and have absolutely no way to retrieve the original error for hints.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions