@@ -35,11 +35,10 @@ |
||
| 35 | 35 | try { |
| 36 | 36 | return $handler->handle($request); |
| 37 | 37 | } catch (Throwable $t) { |
| 38 | - error_log($stackTrace = (string)$t); |
|
| 38 | + error_log($stackTrace = (string) $t); |
|
| 39 | 39 | |
| 40 | 40 | return $this->hide ? |
| 41 | - $this->staticResponse : |
|
| 42 | - $this->responseFactory->createResponse(500) |
|
| 41 | + $this->staticResponse : $this->responseFactory->createResponse(500) |
|
| 43 | 42 | ->withHeader('Content-Type', 'text/plain') |
| 44 | 43 | ->withBody($this->responseFactory->createStream($stackTrace)); |
| 45 | 44 | } |