mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Change error to warning (#19035)
This commit is contained in:
parent
b31c52419d
commit
3627de3e8a
@ -150,7 +150,7 @@ def setup_plexserver(
|
|||||||
_LOGGER.exception("Error listing plex devices")
|
_LOGGER.exception("Error listing plex devices")
|
||||||
return
|
return
|
||||||
except requests.exceptions.RequestException as ex:
|
except requests.exceptions.RequestException as ex:
|
||||||
_LOGGER.error(
|
_LOGGER.warning(
|
||||||
"Could not connect to plex server at http://%s (%s)", host, ex)
|
"Could not connect to plex server at http://%s (%s)", host, ex)
|
||||||
return
|
return
|
||||||
|
|
||||||
@ -218,7 +218,7 @@ def setup_plexserver(
|
|||||||
_LOGGER.exception("Error listing plex sessions")
|
_LOGGER.exception("Error listing plex sessions")
|
||||||
return
|
return
|
||||||
except requests.exceptions.RequestException as ex:
|
except requests.exceptions.RequestException as ex:
|
||||||
_LOGGER.error(
|
_LOGGER.warning(
|
||||||
"Could not connect to plex server at http://%s (%s)", host, ex)
|
"Could not connect to plex server at http://%s (%s)", host, ex)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user