Skip to content

Commit cca7f2d

Browse files
committed
about/index.php: Add message if database connection fail
1 parent ff04a2e commit cca7f2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

application/views/scripts/about/index.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ use ipl\Web\Widget\StateBadge;
102102
try {
103103
$hasPending = $mm->hasPendingMigrations();
104104
} catch (Throwable $e) {
105-
// suppress
105+
throw new LogicException('Please check the database connection in Configuration -> Application -> Resources');
106106
}
107107
if ($hasPending): ?>
108108
<div class="pending-migrations clearfix">

0 commit comments

Comments
 (0)