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 13a01eb commit d8b7957Copy full SHA for d8b7957
src/Handler/JsonToStdErrHandler.php
@@ -156,7 +156,11 @@ public function write(array $record): void
156
157
$result .= $this->getDebugInfo('', $record);
158
// $message .= json_encode($this->varHelper->dump($record), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_THROW_ON_ERROR | JSON_PRETTY_PRINT);
159
- $this->writeToStdErr($result);
+ if (PHP_SAPI === 'fpm-fcgi') {
160
+ echo '<pre>'.$result;
161
+ } else {
162
+ $this->writeToStdErr($result);
163
+ }
164
exit(123);
165
};
166
$result = $this->getMessage($record);
0 commit comments