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.
1 parent 519e55d commit 638aa8cCopy full SHA for 638aa8c
app/Exception/Handler/AppExceptionHandler.php
@@ -32,7 +32,7 @@ public function __construct(StdoutLoggerInterface $logger)
32
33
public function handle(Throwable $throwable, ResponseInterface $response)
34
{
35
- $this->logger->error($throwable->getMessage());
+ $this->logger->error(sprintf('%s[%s] in %s', $throwable->getMessage(), $throwable->getLine(), $throwable->getFile()));
36
$this->logger->error($throwable->getTraceAsString());
37
return $response->withStatus(500)->withBody(new SwooleStream('Internal Server Error.'));
38
}
0 commit comments