From 3ea9431aff54fbbd69c6b2929dd347fcf8e141c5 Mon Sep 17 00:00:00 2001 From: Mathieu Lamiot Date: Mon, 22 Jan 2024 12:17:46 +0100 Subject: [PATCH] Add debug logs --- sources/listeners/SlackInteractionListener.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/listeners/SlackInteractionListener.py b/sources/listeners/SlackInteractionListener.py index 3007dc8..a4f652b 100644 --- a/sources/listeners/SlackInteractionListener.py +++ b/sources/listeners/SlackInteractionListener.py @@ -35,7 +35,7 @@ def __call__(self): # Retrieve the payload of the POST request payload_json = json.loads(request.form.get('payload')) - current_app.logger.info("SlackInteractionListener Payload: " + payload_json) + current_app.logger.info("SlackInteractionListener Payload: " + json.dumps(payload_json)) # Route the request to the correct handler payload_type = payload_json['type']