昨日、exception_notification の 4.0.0 がリリースされて使い方に非互換な部分があったので書いておきます。
今まで
config.middleware.use ExceptionNotifier,
email_prefix: "[Exception] ",
sender_address: %{"Exception Notifier" <no-reply@example.com>},
exception_recipients: ["notification@example.com"]
と書いていた部分を
config.middleware.use ExceptionNotification::Rack,
:email => {
email_prefix: "[Exception] ",
sender_address: %{"Exception Notifier" <no-reply@example.com>},
exception_recipients: ["notification@example.com"]
}
と書き換える必要がある。exception_notification はこれまで email を使った notification に密結合していたのを、ばっさり分離して、config で与えられた notifier に対して発火するように変えたのが非互換となる原因のようです。
今日はアムステルダムからのゲストや EuRuKo 参加組が帰国してのミートアップでだいぶミートアップっぽい感じでした。
オレは一心不乱に ruby/ruby の pull request をマージしていたけど、何かぼーっとしてイマイチ捗らなかった。3 件でフィニッシュ。