From 9c9c7b83afc88b7e9fb4eab75eb8f33ea9259eca Mon Sep 17 00:00:00 2001 From: Zhiyuan Zheng Date: Sun, 6 Feb 2022 18:58:27 +0100 Subject: [PATCH] Try to capture more info to debug --- src/screens/Tabs/Shared/Toot.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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