Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

throwOnImmutableMutation being hit when trying to send a message #57

Closed
poffdeluxe opened this issue May 15, 2017 · 2 comments
Closed
Assignees
Labels

Comments

@poffdeluxe
Copy link

poffdeluxe commented May 15, 2017

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.

@poffdeluxe
Copy link
Author

Was able to workaround this by turning off xhr breadcrumbs:

Sentry.config("[DSN]", {
  logLevel: SentryLog.Debug,
  autoBreadcrumbs: {
    'xhr': false,
    'console': true,
    'dom': true,
    'location': true 
  }
}).install();

@HazAT
Copy link
Member

HazAT commented Jun 13, 2017

Fixed in v0.12.10

@HazAT HazAT closed this as completed Jun 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants