Skip to content

Commit b51f3a8

Browse files
flabbamannhthiery
authored andcommitted
Log login exceptions
1 parent 7f880ee commit b51f3a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyfritzhome/fritzhome.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ def login(self):
9999
_LOGGER.warning("login failed %s", sid2)
100100
raise LoginError(self._user)
101101
self._sid = sid2
102-
except Exception:
102+
except Exception as ex:
103+
_LOGGER.error(ex)
103104
raise LoginError(self._user)
104105

105106
def logout(self):

0 commit comments

Comments
 (0)