MCPcopy Index your code
hub / github.com/slackapi/python-slack-sdk / _debug_log_response

Function _debug_log_response

slack/webhook/internal_utils.py:33–40  ·  view source on GitHub ↗
(logger, resp: WebhookResponse)

Source from the content-addressed store, hash-verified

31
32
33def _debug_log_response(logger, resp: WebhookResponse) -> None:
34 if logger.level <= logging.DEBUG:
35 logger.debug(
36 "Received the following response - "
37 f"status: {resp.status_code}, "
38 f"headers: {(dict(resp.headers))}, "
39 f"body: {resp.body}"
40 )

Callers 2

_perform_http_requestMethod · 0.70
_perform_http_requestMethod · 0.70

Calls 1

debugMethod · 0.45

Tested by

no test coverage detected