Skip to content

Commit b0dcd09

Browse files
committed
MC-42791: [Magento Cloud] Products not showing in catagories
1 parent b56a093 commit b0dcd09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogInventory/Model/Stock/StockItemRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ public function save(\Magento\CatalogInventory\Api\Data\StockItemInterface $stoc
192192

193193
$this->resource->save($stockItem);
194194
} catch (\Exception $exception) {
195-
$this->psrLogger->error('bigerror', ['exception' => $exception]);
195+
$this->psrLogger->error($exception);
196196
throw new CouldNotSaveException(__('The stock item was unable to be saved. Please try again.'), $exception);
197197
}
198198
return $stockItem;

0 commit comments

Comments
 (0)