Skip to content

Commit

Permalink
Merge pull request #75 from wp-media/feature/GH-release-to-Notion-and…
Browse files Browse the repository at this point in the history
…-Slack

Add debug logs
  • Loading branch information
MathieuLamiot authored Jan 22, 2024
2 parents 7c5f3a5 + 3ea9431 commit 7a08ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/listeners/SlackInteractionListener.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit 7a08ccb

Please sign in to comment.