"Debounce" Mails
Forgive me if I'm missing something obvious but I couldn't find a way to configure email summaries, or "debouncing" of sorts.
For example, Solid Errors is sending emails for errors that have already occurred once, and I'd like to opt out of being re-notified of them.
Or, another way to put it, one could think about daily or weekly summaries 🤔
In case it helps you out, I have an unmerged/closed PR that took care of this that I now run off a forked copy - https://github.com/imageaid/solid_errors. It only sends an error on the first instance OR if you resolve the error and it reoccurs, it will send once more.
I also added a "full_backtrace" mattr_accessor that you can set in your configs if you do not want all the "GEM" output in the backtrace (this can kind of work against you a bit if/when you run into an error that only has GEM output in the logs, which happens on occasion for me).
I do keep my fork up to date with this repo and, for now, no issues with the differences.
Sad to see this was never merged!
Yeah, for sure! I hope it can offer you some help!
I've been tweaking my fork a little lately again and may re-do my PR as two PRs: one to enable blocking the GEM output from a backtrace and one for the one email per error feature, so maybe it'll get merged in next time :)
Yeah, I'd love those PRs. And I'll re-check out the current PR
Been slammed getting a new app out the door but that is easing up and I will try and get both the PRs in later this week/weekend in the event they prove useful for the library!
Oy ... finally got a minute to enter the PR. #80
Apologies on that delay!