lib/agilibox/errors_middleware.rb in agilibox-1.10.5 vs lib/agilibox/errors_middleware.rb in agilibox-1.11.0
- old
+ new
@@ -8,9 +8,10 @@
NOT_ACCEPTABLE_ERRORS = [
"ActionController::BadRequest",
"ActionController::UnknownFormat",
"ActionController::UnknownHttpMethod",
"ActionDispatch::Cookies::CookieOverflow",
+ "ActionDispatch::Http::MimeNegotiation::InvalidType",
"ActionView::MissingTemplate",
"Mime::Type::InvalidMimeType",
]
def initialize(app)