Skip to content

throwOnImmutableMutation being hit when trying to send a message #57

@poffdeluxe

Description

@poffdeluxe

Happening on iOS. Running react-native 0.42.3 and react-native-sentry 0.8.3

My index.os.js looks like this:

import { AppRegistry } from 'react-native';
import App from './App';

import {
  Sentry,
  SentrySeverity,
  SentryLog
} from 'react-native-sentry';

Sentry.config("[MY DSN HERE]", {
  // deactivateStacktraceMerging: true,
  logLevel: SentryLog.Debug
}).install();

AppRegistry.registerComponent('governedapp', () => App);

In my code, I'm attempting to send a message with:

      Sentry.captureMessage("My message", {
        level: SentrySeverity.Error
      });

but I'm getting this crash:
glass_and_iphone_7_ _ios_10_3__14e269_
(I blurred out the key value since I think it's specific to the firebase integration I'm running)

It looks like this is happening when trying to prepare a list of breadcrumbs to send with my message. Seems like a non-release build specific error as well.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions