Skip to content

Commit bd81f16

Browse files
committed
Merge branch 'master' of github.com:hyperf-cloud/hyperf-skeleton
2 parents b127658 + 34a9a58 commit bd81f16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Exception/Handler/AppExceptionHandler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public function __construct(StdoutLoggerInterface $logger)
3232

3333
public function handle(Throwable $throwable, ResponseInterface $response)
3434
{
35+
$this->logger->error($throwable->getMessage());
3536
$this->logger->error($throwable->getTraceAsString());
3637
return $response->withStatus(500)->withBody(new SwooleStream('Internal Server Error.'));
3738
}

0 commit comments

Comments
 (0)