Skip to content

Support for stacktrace: true #201

Closed
Closed
@JAStanton

Description

@JAStanton

Platform:

  • iOS
  • Android

paranoid redacted npm ls:

@REDACTED@0.0.0
├── UNMET PEER DEPENDENCY react@16.0.0-alpha.3
├── react-native@0.44.3
├── react-native-code-push@2.1.1-beta
├── react-native-sentry@0.17.1

Config:

Sentry.config(__CONFIG__.sentry.dsn, {
  deactivateStacktraceMerging: false, 
  logLevel: SentryLog.Verbose, 
  disableNativeIntegration: false, 
  ignoreModulesExclude: [], 
  ignoreModulesInclude: ["RNSentry"], 
}).install();

I have following issue:

I want to be able to Sentry.captureMessage an error with a stacktrace:

Sentry.captureMessage(new Error('Hello'), { level: SentrySeverity.Error, stacktrace: true });

This is supported in Raven getsentry/sentry-javascript#582 but unsure why It's not working.

When I log something like this, I get:

image

When I should expect a stacktrace:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions