Skip to content

Commit

Permalink
fix(event): Message event contains stacktrace if attachStacktrace o… (
Browse files Browse the repository at this point in the history
#2577)

* fix(event): Message event contains stacktrace if `attachStacktrace` option is set

* Fix the captureMessage function signature to match the original

* Add changelog

* Revert "fix(event): Message event contains stacktrace if `attachStacktrace` option is set"

This reverts commit 65fec08.
  • Loading branch information
krystofwoldrich authored Oct 31, 2022
1 parent 9c2a7c1 commit 1db4acc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

## Fixes

- Message event can have attached stacktrace ([#2577](https://github.com/getsentry/sentry-react-native/pull/2577))

### Dependencies

- Bump Android SDK from v6.5.0 to v6.6.0 ([#2572](https://github.com/getsentry/sentry-react-native/pull/2572))
Expand Down
1 change: 1 addition & 0 deletions src/js/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export class ReactNativeClient extends BaseClient<ReactNativeClientOptions> {
stackParser: options.stackParser || defaultStackParser,
integrations: [],
_metadata: options._metadata,
attachStacktrace: options.attachStacktrace,
});

void this._initNativeSdk();
Expand Down

0 comments on commit 1db4acc

Please sign in to comment.