Advertisement
Guest User

Untitled

a guest
Apr 25th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.27 KB | None | 0 0
  1.         if ($store->getId() === null) {
  2.             try {
  3.                 throw new NoSuchEntityException(__('Requested store is not found'));
  4.             }
  5.             catch (\Exception $e) {
  6.                 echo $e->getTraceAsString();die;
  7.             }
  8.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement