From dc79f2e0b2b12be9412e1d24497496bd1fcfacb0 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 21 Jul 2024 18:58:37 +0300 Subject: [PATCH] throw exception on page_num requested not found --- src/Entity/Browser/Container/Tab.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/Browser/Container/Tab.php b/src/Entity/Browser/Container/Tab.php index 23227497..9296095a 100644 --- a/src/Entity/Browser/Container/Tab.php +++ b/src/Entity/Browser/Container/Tab.php @@ -63,7 +63,7 @@ class Tab $page->title->getValue(), $page->title->getSubtitle() ); - } + } else throw new \Exception; // Keep current selection $self->grab_focus();