From 507555cbf1ea41a7056558fdad6b19a351fd03a8 Mon Sep 17 00:00:00 2001 From: Russell Porter Date: Wed, 18 Dec 2024 21:30:04 +0100 Subject: [PATCH] Fix typo --- config/environments/production.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/production.rb b/config/environments/production.rb index a3cfe83..8a5c9ab 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -93,7 +93,7 @@ config.host_authorization = { exclude: ->(request) { request.path == "/up" } } end -.use ExceptionNotification::Rack, +Rails.application.config.middleware.use ExceptionNotification::Rack, ignore_if: ->(env, exception) { exception.message =~ /invalid byte sequence in UTF-8/ || exception.message =~ /is not a valid MIME type/ }, email: { email_prefix: "[WhyJustRun Core] ",