mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
Add request made by rest_command
to debug log (#139266)
This commit is contained in:
parent
72502c1a15
commit
f607b95c00
@ -146,6 +146,14 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
||||
if content_type:
|
||||
headers[hdrs.CONTENT_TYPE] = content_type
|
||||
|
||||
_LOGGER.debug(
|
||||
"Calling %s %s with headers: %s and payload: %s",
|
||||
method,
|
||||
request_url,
|
||||
headers,
|
||||
payload,
|
||||
)
|
||||
|
||||
try:
|
||||
async with getattr(websession, method)(
|
||||
request_url,
|
||||
|
Loading…
x
Reference in New Issue
Block a user