Skip to content

Logs: never sent if they are always logs sent under the flush timeout delay #5378

Description

@lucas-zimerman

What React Native libraries do you use?

RN New Architecture

Are you using sentry.io or on-premise?

sentry.io (SaS)

@sentry/react-native SDK Version

latest

How does your development environment look like?

.

Sentry.init()

Sentry.init({
  dsn: 'https://...@sentry.io/...'
  // other options
});

Steps to Reproduce

let counter = 0;
const sender = () => {
  Sentry.logger.info(`never flushed number ${counter}`);
  setTimeout(sender, 2000);
};

sender();

Expected Result

logs sent.

Actual Result

logs shown.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions