<commit_before># return true to ignore or false to send
Honeybadger.exception_filter do |notice|
  ActionDispatch::ExceptionWrapper.rescue_responses.key? notice[:error_class]
end

Honeybadger.configure do |config|
  config.disabled = true if Rails.env.development?
end<commit_msg>Honeybadger has removed 'config.disabled' option in favor of 'config.report_data'<commit_after># return true to ignore or false to send
Honeybadger.exception_filter do |notice|
  ActionDispatch::ExceptionWrapper.rescue_responses.key? notice[:error_class]
end

Honeybadger.configure do |config|
  config.report_data = false if Rails.env.development?
end
{'fraction_non_alphanumeric': 0.08227848101265822, 'fraction_numerical': 0.0, 'mean_word_length': 6.814814814814815, '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': '4021116', 'n_tokens_mistral': 192, 'n_tokens_neox': 182, 'n_words': 53}