MCPcopy Create free account
hub / github.com/slackapi/python-slack-sdk / _debug_log_response

Function _debug_log_response

slack_sdk/webhook/internal_utils.py:38–45  ·  view source on GitHub ↗
(logger, resp: WebhookResponse)

Source from the content-addressed store, hash-verified

36
37
38def _debug_log_response(logger, resp: WebhookResponse) -> None:
39 if logger.level <= logging.DEBUG:
40 logger.debug(
41 "Received the following response - "
42 f"status: {resp.status_code}, "
43 f"headers: {(dict(resp.headers))}, "
44 f"body: {resp.body}"
45 )

Callers 3

_perform_http_requestMethod · 0.70
_perform_http_requestMethod · 0.70

Calls 1

debugMethod · 0.45

Tested by

no test coverage detected