exception_notification icon indicating copy to clipboard operation
exception_notification copied to clipboard

Not reporting Mysql2::Error (Can't connect....)

Open twigbranch opened this issue 12 years ago • 4 comments

Exception Notification does not seem to be catching the following error when the database is down: Mysql2::Error (Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)):

Is this possible to configure?

twigbranch avatar Apr 01 '13 03:04 twigbranch

NOTE: this is with version 2.6.1 on Rails 3. Installation code is in config/initializers/.

twigbranch avatar Apr 01 '13 03:04 twigbranch

if the error occurs during the application boot, exception_notification can not be able to send notifications because it relies on rack middleware to catch errors.

jweslley avatar Apr 20 '13 22:04 jweslley

Hi!

I'm doing some bug triage and I would like to know if this bug is still happening on master.

The idea is to close those errors that can't be reproduced or that don't have enough information to reproduce it. I'll revisit this bug in a week and I'll close it if there's no more information. It can be opened again later if necessary.

Thanks!

san650 avatar Dec 14 '15 21:12 san650

It can be reproduced. Just turn off the db.

twigbranch avatar Dec 18 '15 22:12 twigbranch