about summary refs log tree commit diff
path: root/src/state
diff options
context:
space:
mode:
authorChenyu Huang <itschenyu@gmail.com>2025-08-22 13:28:32 -0700
committerChenyu Huang <itschenyu@gmail.com>2025-08-22 13:28:32 -0700
commit184df9cbfef582180c5765d8158bbbb249558f8a (patch)
tree6a371f4caf51c19c96399ad78f041ce510048531 /src/state
parent912ab1bd9b771cf14c830203332f3620e661a752 (diff)
downloadvoidsky-184df9cbfef582180c5765d8158bbbb249558f8a.tar.zst
wrapp failed to send feed interactions inside isNetworkError
Diffstat (limited to 'src/state')
-rw-r--r--src/state/feed-feedback.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/state/feed-feedback.tsx b/src/state/feed-feedback.tsx
index ee381259d..8b235f492 100644
--- a/src/state/feed-feedback.tsx
+++ b/src/state/feed-feedback.tsx
@@ -11,6 +11,7 @@ import {type AppBskyFeedDefs} from '@atproto/api'
 import throttle from 'lodash.throttle'
 
 import {FEEDBACK_FEEDS, STAGING_FEEDS} from '#/lib/constants'
+import {isNetworkError} from '#/lib/hooks/useCleanError'
 import {logEvent} from '#/lib/statsig/statsig'
 import {Logger} from '#/logger'
 import {
@@ -83,7 +84,9 @@ export function useFeedFeedback(
         },
       )
       .catch((e: any) => {
-        logger.warn('Failed to send feed interactions', {error: e})
+        if (!isNetworkError(e)) {
+          logger.warn('Failed to send feed interactions', {error: e})
+        }
       })
 
     // Send to Statsig