From 67bf0de1340652594d0264eb73e1cf0fa489a0cc Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Tue, 17 Sep 2024 10:51:11 +0200 Subject: [PATCH] About Page: Suppress the `MigrationManager` exception --- application/views/scripts/about/index.phtml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/application/views/scripts/about/index.phtml b/application/views/scripts/about/index.phtml index 805e723e0d8..32fc49cfc9e 100644 --- a/application/views/scripts/about/index.phtml +++ b/application/views/scripts/about/index.phtml @@ -96,7 +96,15 @@ use ipl\Web\Widget\StateBadge; - hasPendingMigrations()): ?> + hasPendingMigrations(); + } catch (Throwable $e) { + // don't throw + } + if ($hasPending): ?>

translate('Pending Migrations') ?>