可用性/例外監視のために New Relic を使用して Rails 4.0.0.rc アプリケーションを実行しています。application.rbこのスニペットで変更して、動的な例外ページを有効にしました。
config.exceptions_app = self.routes
ただし、 New Relic404では、422または例外が表示されなくなりました。500それらを取り戻す方法はありますか?
編集:
注: ステータスを処理するコントローラーは次のようになります。
class ErrorsController < ApplicationController
# GET /404
def missing
render status: 404
end
# GET /422
def unprocessable
render status: 422
end
# GET /500
def exception
render status: 500
end
end