Skip to content

Commit b00ed88

Browse files
committed
🤣 debugging on production
1 parent b51b5f2 commit b00ed88

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/code/Magento/Catalog/Controller/Adminhtml/Product/MassDelete.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,11 @@ public function execute()
8787
$this->productRepository->delete($product);
8888
$productDeleted++;
8989
} catch (LocalizedException $exception) {
90+
$this->messageManager->addErrorMessage((string)$exception); /** @FIXME Temporary for Debugging purposes */
9091
$this->logger->error($exception->getLogMessage());
9192
$productDeletedError++;
93+
} catch (\Exception $e) {
94+
$this->messageManager->addErrorMessage((string)$e); /** @FIXME Temporary for Debugging purposes */
9295
}
9396
}
9497

0 commit comments

Comments
 (0)