mirror of https://github.com/tooot-app/app
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)
|
}, 500)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
if (Math.random() < 0.1) {
|
if (Math.random() < 0.1) {
|
||||||
Sentry.Native.setExtras({
|
Sentry.Native.setContext('Scroll to Index', {
|
||||||
type: 'original',
|
type: 'original',
|
||||||
index: pointer,
|
index: pointer,
|
||||||
itemsLength: flattenData.length,
|
itemsLength: flattenData.length,
|
||||||
|
@ -84,7 +84,7 @@ const TabSharedToot: React.FC<TabSharedStackScreenProps<'Tab-Shared-Toot'>> = ({
|
||||||
)
|
)
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
if (Math.random() < 0.1) {
|
if (Math.random() < 0.1) {
|
||||||
Sentry.Native.setExtras({
|
Sentry.Native.setContext('Scroll to Index', {
|
||||||
type: 'onScrollToIndexFailed',
|
type: 'onScrollToIndexFailed',
|
||||||
index: error.index,
|
index: error.index,
|
||||||
itemsLength
|
itemsLength
|
||||||
|
|
Loading…
Reference in New Issue