Skip to content

Commit

Permalink
MDEE-913: Exception when failing serialization (#454)
Browse files Browse the repository at this point in the history
MDEE-913: Exception when failing serialization
  • Loading branch information
duhon authored Dec 12, 2024
1 parent afbb366 commit a0b14fd
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 a0b14fd

Please sign in to comment.