Skip to content

Commit af065bd

Browse files
committed
invalid ip: add more details in log
1 parent 5407aa3 commit af065bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ApiCache.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ private function saveRemediations(array $decisions): array
311311
if (null === $address) {
312312
$this->logger->warning('', [
313313
'type' => 'INVALID_IP_TO_ADD_FROM_REMEDIATION',
314-
'ip' => $decision['value'],
314+
'decision' => $decision,
315315
]);
316316
continue;
317317
}
@@ -357,7 +357,7 @@ private function removeRemediations(array $decisions): array
357357
if (null === $address) {
358358
$this->logger->warning('', [
359359
'type' => 'INVALID_IP_TO_REMOVE_FROM_REMEDIATION',
360-
'ip' => $decision['value'],
360+
'decision' => $decision,
361361
]);
362362
continue;
363363
}

0 commit comments

Comments
 (0)