mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
about/index.php: Add message if database connection fail
This commit is contained in:
parent
ff04a2ea43
commit
cca7f2db1f
@ -102,7 +102,7 @@ use ipl\Web\Widget\StateBadge;
|
||||
try {
|
||||
$hasPending = $mm->hasPendingMigrations();
|
||||
} catch (Throwable $e) {
|
||||
// suppress
|
||||
throw new LogicException('Please check the database connection in Configuration -> Application -> Resources');
|
||||
}
|
||||
if ($hasPending): ?>
|
||||
<div class="pending-migrations clearfix">
|
||||
|
Loading…
x
Reference in New Issue
Block a user