Skip to content

Commit

Permalink
Add debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuLamiot committed Jan 22, 2024
1 parent f70a628 commit 3ea9431
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 3ea9431

Please sign in to comment.