mirror of
https://github.com/tooot-app/app
synced 2025-01-31 18:55:20 +01:00
Try to capture more info to debug
This commit is contained in:
parent
b68dca7363
commit
9c9c7b83af
@ -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