Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused exception processing in controller #233

Closed
naydav opened this issue Nov 25, 2017 · 0 comments
Closed

Remove unused exception processing in controller #233

naydav opened this issue Nov 25, 2017 · 0 comments
Assignees

Comments

@naydav
Copy link

naydav commented Nov 25, 2017

In \Magento\Inventory\Controller\Adminhtml\Stock\Delete we have processing of
\Magento\Framework\Exception\NoSuchEntityException

But \Magento\InventoryApi\Api\StockRepositoryInterface::deleteById doesn't throw this exception
So need to remove catch from controller

@vovsky vovsky self-assigned this Nov 25, 2017
maghamed added a commit that referenced this issue Nov 25, 2017
…on-processing-in-controller

#233 Removed unused exception processing in Admin Stock Delete contro…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants