Skip to content
This repository was archived by the owner on Feb 18, 2023. It is now read-only.

Commit 891a6de

Browse files
committed
more debug
1 parent 8c7769c commit 891a6de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Discord/Client.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,8 @@ public function handleRequest(ServerRequestInterface $request)
213213
return $this->handleInteraction($interaction)->then(function ($result) {
214214
$this->logger->info('responding to interaction', $result);
215215

216-
return new Response(200, ['Content-Type' => 'application/json'], json_encode($result));
216+
$response = new Response(200, ['Content-Type' => 'application/json'], json_encode($result));
217+
$this->logger->info('REPLY:', (array) $response);
217218
});
218219
}
219220

0 commit comments

Comments
 (0)