mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-01-09 14:27:10 +00:00
Log a debug message on unknown error codes
This commit is contained in:
parent
524696dd87
commit
b4ab4d5269
@ -154,6 +154,10 @@ class Vacuum(SmartModule):
|
||||
try:
|
||||
self._error_code = ErrorCode(error)
|
||||
except ValueError:
|
||||
_LOGGER.debug(
|
||||
"Unknown error code, please create an issue describing the error: %s",
|
||||
error,
|
||||
)
|
||||
self._error_code = ErrorCode.Unknown
|
||||
|
||||
def query(self) -> dict:
|
||||
|
Loading…
Reference in New Issue
Block a user