class Sentry::Breadcrumb

def serialized_data

def serialized_data
  begin
    ::JSON.parse(::JSON.generate(@data))
  rescue Exception => e
    Sentry.logger.debug(LOGGER_PROGNAME) do
      <<~MSG
t serialize breadcrumb data because of error: #{e}
: #{@data}
      MSG
    end
    DATA_SERIALIZATION_ERROR_MESSAGE
  end
end