Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify if DBIx::Connector connection is successful #13

Merged
merged 1 commit into from Feb 1, 2017

Conversation

manuelm
Copy link
Contributor

@manuelm manuelm commented Jan 31, 2017

If DBIx::Connector connection fails (e.g. invalid password) $self->{connector}->dbh is undefined, which results in a fatal error inside DBIx::Lite. Make sure to verify the handle beforehand.

If `DBIx::Connector` connection fails (e.g. invalid password) `$self->{connector}->dbh` is undefined, which results in a fatal error inside `DBIx::Lite`. Make sure to verify the handle beforehand.
@alranel
Copy link
Owner

alranel commented Feb 1, 2017

Right!

@alranel alranel merged commit 39c83ca into alranel:master Feb 1, 2017
@alranel
Copy link
Owner

alranel commented Feb 2, 2017

v0.30 is on its way to CPAN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants