mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-01-09 22:37:08 +00:00
Log a warning instead of debug message for unknown errors
This commit is contained in:
parent
6346980daa
commit
779f02e74d
@ -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,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user