mirror of
https://github.com/tooot-app/app
synced 2025-03-16 03:20:13 +01:00
Squashed commit of the following:
commit 29c04db30ef8ada8879239d63f580c1829d6c7cd Author: Zhiyuan Zheng <me@xmflsct.com> Date: Sun Feb 6 22:02:09 2022 +0100 Patch 3.1.1 commit d3cd4c42ae1d6e01f78806ffaa8560ddbfadedfa Author: Zhiyuan Zheng <me@xmflsct.com> Date: Sun Feb 6 18:58:27 2022 +0100 Try to capture more info to debug
This commit is contained in:
parent
33be34fb97
commit
1d1e3ac9af
@ -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",
|
||||
|
@ -53,7 +53,7 @@ const TabSharedToot: React.FC<TabSharedStackScreenProps<'Tab-Shared-Toot'>> = ({
|
||||
}, 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<TabSharedStackScreenProps<'Tab-Shared-Toot'>> = ({
|
||||
)
|
||||
} catch (err) {
|
||||
if (Math.random() < 0.1) {
|
||||
Sentry.Native.setExtras({
|
||||
Sentry.Native.setContext('Scroll to Index', {
|
||||
type: 'onScrollToIndexFailed',
|
||||
index: error.index,
|
||||
itemsLength
|
||||
|
Loading…
x
Reference in New Issue
Block a user