fix: do not raise error on connection error
This commit is contained in:
parent
579e1ffce5
commit
ebe62e577d
@ -196,7 +196,7 @@ sub askDatabase
|
|||||||
}
|
}
|
||||||
|
|
||||||
my $dsn = $self->{dsn};
|
my $dsn = $self->{dsn};
|
||||||
my $dbh = DBI->connect($dsn, $self->{user}, $self->{pass});
|
my $dbh = DBI->connect($dsn, $self->{user}, $self->{pass}, { RaiseError => 0});
|
||||||
|
|
||||||
if ($dbh->err())
|
if ($dbh->err())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user