<commit_before>import Vue from 'vue'
import * as Sentry from '@sentry/browser'

Sentry.init({
  dsn: __ENV.SENTRY_CONFIG,
  integrations: [new Sentry.Integrations.Vue({ Vue })],
  release: __ENV.GIT_SHA1,
  beforeSend: event => {
    const { message } = event
    if (message && message.includes('ResizeObserver loop limit exceeded')) {
      return null
    }
    return event
  },
})<commit_msg>hide resizeObserver error from Sentry (again)<commit_after>import Vue from 'vue'
import * as Sentry from '@sentry/browser'

Sentry.init({
  dsn: __ENV.SENTRY_CONFIG,
  integrations: [new Sentry.Integrations.Vue({ Vue })],
  release: __ENV.GIT_SHA1,
  beforeSend: event => {
    const { values } = event.exception
    const firstValue = values && values.length > 0 && values[0].value
    if (firstValue && firstValue.includes('ResizeObserver loop limit exceeded')) {
      return null
    }
    return event
  },
})
{'fraction_non_alphanumeric': 0.12623490669593854, 'fraction_numerical': 0.0043907793633369925, 'mean_word_length': 3.774869109947644, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '6136206', 'n_tokens_mistral': 297, 'n_tokens_neox': 293, 'n_words': 77}