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 c3f1aeb commit 521d671Copy full SHA for 521d671
src/Handler/Logging.php
@@ -167,7 +167,7 @@ private function collectErrorExceptionData(Throwable $throwable): array
167
private function collectErrorExceptionExtraData(array $collectedExceptionData, ?RequestInterface $request): array
168
{
169
if (! $request instanceof HttpRequest) {
170
- $argv = $_SERVER['argv'];
+ $argv = $_SERVER['argv'] ?? [];
171
$serverUrl = php_uname('n');
172
$url = $serverUrl . ':' . basename((string) getcwd())
173
. ' ' . get_current_user()
0 commit comments