class I18n::ExceptionHandler

def call(exception, _locale, _key, _options)

def call(exception, _locale, _key, _options)
  if exception.is_a?(MissingTranslation)
    exception.message
  else
    raise exception
  end
end