We had a missing formats: string on our render partial that caused logs to spam when CSS files got 404s. Due to magic discourse_public_exceptions.rb was actually returning the correct 404 cause it switched format when rendering the error.
do not register new MIME type, parse raw body instead
This reverts commit fb8231077a.
fb8231077a
Rails.logger