in reply to DBI issue
# Some possibilities my $dbh = DBI->connect(..., {RaiseError=>1}); or my $dbh = DBI->connect(...) or die $DBI::errstr; or my $dbh = eval { DBI->connect(..., {RaiseError}=>1) }; redirect_to_some_friendly_page_that_says_our_database_is_down($@) if $ +@;
|
|---|