Rails standardized error reporting interface
A very common pattern when dealing with exceptions is to report them asynchronously to the developer and continue exception with some fallback. […] I believe there’s an opportunity for Rails to provide a generic interface to report errors, with an adapter API to allow using the service of your choice.
Source: Rails standardized error reporting interface
Most Rails apps include a layer of indirection like the below, so this is a great idea.
begin do_something rescue SomethingIsBroken => error MyErrorReportingService.notify(error) some_fallback_code_or_value end