Commit 9ed4303d authored by Yadd's avatar Yadd
Browse files

Don't fail on init() if DBI connection fails (#1496)

parent 5d05292c
......@@ -43,7 +43,9 @@ sub dbh {
# All DBI modules have just to verify that DBI connection is available
sub init {
my ($self) = @_;
return $self->_dbh;
or $self->logger->error("DBI connection has failed, but let's continue");
return 1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment