FIX: some testing

This commit is contained in:
Dominik Meyer 2023-12-29 23:04:21 +01:00
parent 05ff0ad608
commit 5c8a8b4943
Signed by: byterazor
GPG Key ID: EABDA0FD5981BC97

View File

@ -196,7 +196,9 @@ sub askDatabase
return DECLINED;
}
my $dbh = DBI::connect($self->{dsn}, $self->{user}, $self->{pass});
my $dsn = $self->{dsn};
my $dbh = DBI::connect($dsn, $self->{user}, $self->{pass},{ RaiseError => 1, PrintError => 0 });
if ($dbh->err())
{