diff --git a/src/Sylius/Behat/Page/Shop/Product/ShowPage.php b/src/Sylius/Behat/Page/Shop/Product/ShowPage.php index d7994751829..ee8e48c304e 100644 --- a/src/Sylius/Behat/Page/Shop/Product/ShowPage.php +++ b/src/Sylius/Behat/Page/Shop/Product/ShowPage.php @@ -316,7 +316,7 @@ public function open(array $urlParameters = []): void try { parent::open($urlParameters); $isOpen = true; - } catch (UnexpectedPageException) { + } catch (UnexpectedPageException $e) { $isOpen = false; sleep(1); }