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

Sympa doesn't log DBI error on connect #34

Closed
racke opened this issue Jul 28, 2017 · 1 comment
Closed

Sympa doesn't log DBI error on connect #34

racke opened this issue Jul 28, 2017 · 1 comment
Labels
Milestone

Comments

@racke
Copy link
Contributor

racke commented Jul 28, 2017

It is really unacceptable for me to not log the actual DBI error. 🤐

Jul 28 12:28:49 belukha sympa_msg[29957]: err main::#87 > main::_load#314 > Sympa::DatabaseManager::instance#54 > Sympa::DatabaseDriver::PostgreSQL::connect#54 > Sympa::Database::connect#155 Can't connect to Database Sympa::DatabaseDriver::PostgreSQL <db_host=localhost;db_name=sympa;db_port=3306;db_user=sympa>
Jul 28 12:28:49 belukha sympa_msg[29957]: err main::#87 > main::_load#317 DIED: Database sympa defined in sympa.conf is unreachable. verify db_xxx parameters in sympa.conf
Jul 28 12:28:49 belukha sympa_msg.pl[29957]: DIED: Database sympa defined in sympa.conf is unreachable. verify db_xxx parameters in sympa.conf
@ikedas
Copy link
Member

ikedas commented Jul 29, 2017

Good hack @racke! I merged it.

@ikedas ikedas added this to the 6.2.20 milestone Aug 2, 2017
@racke racke closed this as completed Sep 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants