<commit_before>module ActionController #:nodoc:
  module Rescue
    protected
      alias_method :orig_log_error, :log_error
      def log_error(exception) #:doc:
        case exception
        when
          ActiveRecord::RecordNotFound,
          ActionController::UnknownController,
          ActionController::UnknownAction,
          ActionController::RoutingError
          return
        end
<commit_msg>don't log SystemExit exceptions, raised when we kill and restart backends<commit_after>module ActionController #:nodoc:
  module Rescue
    protected
      alias_method :orig_log_error, :log_error
      def log_error(exception) #:doc:
        case exception
        when
          ActiveRecord::RecordNotFound,
          ActionController::UnknownController,
          ActionController::UnknownAction,
          ActionController::RoutingError,
          SystemExit
          return
        end

{'fraction_non_alphanumeric': 0.0586283185840708, 'fraction_numerical': 0.0, 'mean_word_length': 2.649193548387097, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4292152', 'n_tokens_mistral': 219, 'n_tokens_neox': 215, 'n_words': 53}