mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
This error is self-inflicted by clients (often security-scanners attempting injection attacks on the Accept header). No need to log them. Rails itself defines this as a 'silent exception', but this doesn't entirely prevent it from being logged: https://github.com/rails/rails/blob/f2caed1e/actionpack/lib/action_dispatch/middleware/exception_wrapper.rb#L39-L42