From 1d1e3ac9af960f38afdf8a1772f18f8c2ff2bbe8 Mon Sep 17 00:00:00 2001 From: Zhiyuan Zheng Date: Sun, 6 Feb 2022 22:03:31 +0100 Subject: [PATCH] Squashed commit of the following: commit 29c04db30ef8ada8879239d63f580c1829d6c7cd Author: Zhiyuan Zheng Date: Sun Feb 6 22:02:09 2022 +0100 Patch 3.1.1 commit d3cd4c42ae1d6e01f78806ffaa8560ddbfadedfa Author: Zhiyuan Zheng Date: Sun Feb 6 18:58:27 2022 +0100 Try to capture more info to debug --- package.json | 4 ++-- src/screens/Tabs/Shared/Toot.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index fdb60233..f3164fac 100644 --- a/package.json +++ b/package.json @@ -3,8 +3,8 @@ "versions": { "native": "220204", "major": 3, - "minor": 3, - "patch": 0, + "minor": 1, + "patch": 1, "expo": "44.0.0" }, "description": "tooot app for Mastodon", diff --git a/src/screens/Tabs/Shared/Toot.tsx b/src/screens/Tabs/Shared/Toot.tsx index e4f3408b..990ddb96 100644 --- a/src/screens/Tabs/Shared/Toot.tsx +++ b/src/screens/Tabs/Shared/Toot.tsx @@ -53,7 +53,7 @@ const TabSharedToot: React.FC> = ({ }, 500) } catch (err) { if (Math.random() < 0.1) { - Sentry.Native.setExtras({ + Sentry.Native.setContext('Scroll to Index', { type: 'original', index: pointer, itemsLength: flattenData.length, @@ -84,7 +84,7 @@ const TabSharedToot: React.FC> = ({ ) } catch (err) { if (Math.random() < 0.1) { - Sentry.Native.setExtras({ + Sentry.Native.setContext('Scroll to Index', { type: 'onScrollToIndexFailed', index: error.index, itemsLength