diff --git a/slack_util.py b/slack_util.py index ed0e108..abea79f 100644 --- a/slack_util.py +++ b/slack_util.py @@ -277,7 +277,8 @@ class ClientWrapper(object): # Get the payload body_dict = await request.json() payload = body_dict["payload"] - + print("Got a normal request: {}".format(request)) + print(await request.read()) print("Interaction received: {}".format(payload)) # Handle each action separately @@ -305,6 +306,8 @@ class ClientWrapper(object): # Respond that everything is fine return web.Response(status=200) else: + print("Got a weird request: {}".format(request)) + print(await request.read()) # If we can't read it, get mad return web.Response(status=400)