Closed defkode closed 6 months ago
Currently SolidErrors.send_emails? always returns true, even when disabled in configuration 👇🏻
SolidErrors.send_emails?
config.solid_errors.send_emails = false
I think following condition has wrong default:
def send_emails? @send_emails ||= ENV["SOLIDERRORS_SEND_EMAILS"] || @@send_emails || true end`
Excerpt from README:
If you have not set `send_emails` to `true` or have not set an `email_to` address, Solid Errors will not send any email notifications.
This PR fixes this.
Released version 0.4.3 now with this improvement
Currently
SolidErrors.send_emails?
always returns true, even when disabled in configuration 👇🏻I think following condition has wrong default:
Excerpt from README:
This PR fixes this.