<commit_before># frozen_string_literal: true

class ErrorsController < ApplicationController
  def error_404
    respond_to do |format|
      format.html { render template: 'errors/not_found', status: 404 }
      format.all { render nothing: true, status: 404 }
    end
  end
end<commit_msg>Add all formats to the errors controller<commit_after># frozen_string_literal: true

class ErrorsController < ApplicationController
  def error_404
    respond_to do |format|
      format.all { render template: 'errors/not_found', status: 404 }
    end
  end
end
{'fraction_non_alphanumeric': 0.07233273056057866, 'fraction_numerical': 0.027124773960216998, 'mean_word_length': 4.12962962962963, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4921250', 'n_tokens_mistral': 171, 'n_tokens_neox': 157, 'n_words': 51}