Rails 中弃用的 exception_notification gem 的替代方案?

Alternative to deprecated exception_notification gem in Rails?

我已经成功地将 exception_notification gem 用于许多不同的应用程序,它在我的工作流程等方面运行良好。我喜欢报告、接收电子邮件的便利性等。gem 已经 8 年(!)没有更新了,但仍然可以正常工作,但有一个例外 - 每 500 次错误都会使内存膨胀。也许这只是我对应用程序的实现,但我很确定我已经按照规范完成了(在那种情况下这将是另一个问题)。

我用谷歌搜索但找不到另一个 gem 做同样的事情:当我的应用程序崩溃并出现 500 错误时给我发一封电子邮件。 exception_notification gem 有哪些替代方案?

这个 gem Exception notification 已经有一个分叉版本。解释说:

The Exception Notification gem provides a set of notifiers for sending notifications when errors occur in a Rack/Rails application. The built-in notifiers can deliver notifications by email, Campfire, HipChat, Slack, Mattermost, IRC or via custom WebHooks.

所以这是一个更强大的版本,可以与多个第 3 方应用程序一起使用。 github中提到的link解释清楚了开始使用这个gem的步骤:Read me for Exception Notification

邮寄选项和代码几乎相同:

Rails.application.config.middleware.use ExceptionNotification::Rack,
:email => {
:email_prefix         => "[PREFIX] ",
:sender_address       => %{"notifier" <notifier@example.com>},
:exception_recipients => %w{exceptions@example.com},
:delivery_method => :smtp,
:smtp_settings => {
  :user_name => "bob",
  :password => "password",
  }
}