Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mage-os-ci committed Jan 3, 2025
2 parents b5a3a84 + a0b14fd commit 8d48d9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DataExporter/Model/Indexer/FeedUpdater.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,11 @@ private function insertUpdateWithRetry(
}
} catch (DeadlockException $deadlockException) {
if ($lastAttempt) {
$this->logError($deadlockException, $metadata, $dataForInsert);
$this->logError($deadlockException, $metadata, $dataForInsert ?? []);
}
return false;
} catch (\Throwable $e) {
$this->logError($e, $metadata, $dataForInsert);
$this->logError($e, $metadata, $dataForInsert ?? []);
}
return true;
}
Expand Down

0 comments on commit 8d48d9e

Please sign in to comment.