mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Update sentry reporting
This commit is contained in:
@ -61,7 +61,7 @@ const apiTooot = async <T = unknown>({
|
||||
})
|
||||
})
|
||||
.catch(error => {
|
||||
if (sentry && Math.random() < 0.005) {
|
||||
if (sentry && Math.random() < 0.01) {
|
||||
Sentry.Native.setExtras({
|
||||
API: 'tooot',
|
||||
...(error.response && { response: error.response }),
|
||||
|
Reference in New Issue
Block a user