We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b127658 + 34a9a58 commit bd81f16Copy full SHA for bd81f16
app/Exception/Handler/AppExceptionHandler.php
@@ -32,6 +32,7 @@ public function __construct(StdoutLoggerInterface $logger)
32
33
public function handle(Throwable $throwable, ResponseInterface $response)
34
{
35
+ $this->logger->error($throwable->getMessage());
36
$this->logger->error($throwable->getTraceAsString());
37
return $response->withStatus(500)->withBody(new SwooleStream('Internal Server Error.'));
38
}
0 commit comments