@@ -35,13 +35,12 @@ |
||
| 35 | 35 | try { |
| 36 | 36 | return $handler->handle($request); |
| 37 | 37 | } catch (Throwable $t) { |
| 38 | - error_log((string)$t); |
|
| 38 | + error_log((string) $t); |
|
| 39 | 39 | |
| 40 | 40 | return $this->hide ? |
| 41 | - $this->baseResponse : |
|
| 42 | - $this->baseResponse |
|
| 41 | + $this->baseResponse : $this->baseResponse |
|
| 43 | 42 | ->withHeader('Content-Type', 'text/plain') |
| 44 | - ->withBody($this->streamFactory->createStream((string)$t)); |
|
| 43 | + ->withBody($this->streamFactory->createStream((string) $t)); |
|
| 45 | 44 | } |
| 46 | 45 | } |
| 47 | 46 | } |