Skip to content

Commit ae2edcf

Browse files
committed
BUGFIX: Only treat return status > 299 as error
1 parent 5e6a922 commit ae2edcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Indexer/NodeIndexer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ public function flush(): void
490490

491491
if (isset($response['errors']) && $response['errors'] !== false) {
492492
foreach ($response['items'] as $responseInfo) {
493-
if (current($responseInfo)['status'] !== 200) {
493+
if ((int)current($responseInfo)['status'] > 299) {
494494
$this->errorHandlingService->log($this->errorStorage->logErrorResult($responseInfo), LogEnvironment::fromMethodName(__METHOD__));
495495
}
496496
}

0 commit comments

Comments
 (0)