Skip to content

Commit 54a7bd5

Browse files
authored
Merge branch 'master' into patch-3
2 parents 1d879af + a1ddefc commit 54a7bd5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

android/src/main/java/io/sentry/RNSentryModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public void captureBreadcrumb(ReadableMap breadcrumb) {
166166
if (breadcrumb.hasKey("category")) {
167167
breadcrumbBuilder.setCategory(breadcrumb.getString("category"));
168168
}
169-
if (breadcrumb.hasKey("data")) {
169+
if (breadcrumb.hasKey("data") && breadcrumb.getMap("data") != null) {
170170
Map<String, String> newData = new HashMap<>();
171171
for (Map.Entry<String, Object> data : breadcrumb.getMap("data").toHashMap().entrySet()) {
172172
newData.put(data.getKey(), data.getValue() != null ? data.getValue().toString() : null);

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "react-native-sentry",
33
"homepage": "https://github.com/getsentry/react-native-sentry",
44
"repository": "https://github.com/getsentry/react-native-sentry",
5-
"version": "0.14.8",
5+
"version": "0.14.9",
66
"description": "Official Sentry client for react-native",
77
"main": "index.js",
88
"scripts": {

0 commit comments

Comments
 (0)