Skip to content

Commit 521d671

Browse files
committed
handle
1 parent c3f1aeb commit 521d671

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Handler/Logging.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ private function collectErrorExceptionData(Throwable $throwable): array
167167
private function collectErrorExceptionExtraData(array $collectedExceptionData, ?RequestInterface $request): array
168168
{
169169
if (! $request instanceof HttpRequest) {
170-
$argv = $_SERVER['argv'];
170+
$argv = $_SERVER['argv'] ?? [];
171171
$serverUrl = php_uname('n');
172172
$url = $serverUrl . ':' . basename((string) getcwd())
173173
. ' ' . get_current_user()

0 commit comments

Comments
 (0)