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 ab8f56b commit bc5babcCopy full SHA for bc5babc
src/Handler/JsonToStdErrHandler.php
@@ -157,6 +157,7 @@ public function write(array $record): void
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
if (PHP_SAPI === 'fpm-fcgi') {
160
+ http_response_code(500);
161
echo '<pre>'.$result;
162
} else {
163
$this->writeToStdErr($result);
0 commit comments