Skip to content

Improve connection error handling

In some environments the socket connection interactions may fail causing different failure modes. As these issues may show up at the beginning of the authentication cycle, we would want to throw an AuthenticationFailure if any exception occurs during the hello. The exception messages are taken from the dbus-python related messaging that occurs when these problems occur.

This change adds a new exception around connection issues:

jeepney.integrate.blocking.ConnectionError - occurs when a socket IO
                                             exception occurs when
                                             sending or receiving data.

Related to #10 (closed)

Edited by Alex Schultz

Merge request reports