mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-12-30 16:32:42 +00:00
Log a warning instead of debug message for unknown errors
This commit is contained in:
@@ -160,7 +160,7 @@ class Vacuum(SmartModule):
|
|||||||
try:
|
try:
|
||||||
self._error_code = ErrorCode(error)
|
self._error_code = ErrorCode(error)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
_LOGGER.debug(
|
_LOGGER.warning(
|
||||||
"Unknown error code, please create an issue describing the error: %s",
|
"Unknown error code, please create an issue describing the error: %s",
|
||||||
error,
|
error,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user