Skip to content

Commit abc3ac7

Browse files
committed
fix(tests): ci
1 parent dbe6bce commit abc3ac7

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

custom_components/eau_agur/api/agur_api_client.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ async def request(
7878

7979
url = URL.build(scheme="https", host=self._host, path=self._base_path).join(URL(uri))
8080

81-
LOGGER.debug("URL: %s", url)
81+
LOGGER.warning("URL: %s", url)
8282

8383
if headers is None:
8484
headers: dict[str, Any] = {}
@@ -87,7 +87,7 @@ async def request(
8787
headers["Conversationid"] = self._conversation_id
8888

8989
if self._token is not None:
90-
LOGGER.debug("Token: %s", self._token[:18]) # Only take the first 18 characters
90+
LOGGER.warning("Token: %s", self._token[:18]) # Only take the first 18 characters
9191
headers["Token"] = self._token
9292

9393
if self._session is None:
@@ -120,16 +120,16 @@ async def request(
120120

121121
if "application/json" in content_type:
122122
json_data = await response.json()
123-
LOGGER.debug("Response JSON: %s", json_data)
123+
LOGGER.warning("Response JSON: %s", json_data)
124124
return json_data
125125

126126
text = await response.text()
127-
LOGGER.debug("Response Text: %s", text)
127+
LOGGER.warning("Response Text: %s", text)
128128
return {"message": text}
129129

130130
def is_token_expired(self) -> bool:
131131
"""Check if the token is expired."""
132-
LOGGER.debug("Token expires at: %s", self._token_expires_at)
132+
LOGGER.warning("Token expires at: %s", self._token_expires_at)
133133
if self._token_expires_at is None:
134134
return True
135135
return datetime.now(timezone.utc) > self._token_expires_at

0 commit comments

Comments
 (0)