about/index.php: Add message if database connection fail

This commit is contained in:
Jolien Trog 2025-04-23 16:11:58 +02:00
parent ff04a2ea43
commit cca7f2db1f

View File

@ -102,7 +102,7 @@ use ipl\Web\Widget\StateBadge;
try { try {
$hasPending = $mm->hasPendingMigrations(); $hasPending = $mm->hasPendingMigrations();
} catch (Throwable $e) { } catch (Throwable $e) {
// suppress throw new LogicException('Please check the database connection in Configuration -> Application -> Resources');
} }
if ($hasPending): ?> if ($hasPending): ?>
<div class="pending-migrations clearfix"> <div class="pending-migrations clearfix">