From 72e43433984db75fb2ea7df473cbd67a0c9d487a Mon Sep 17 00:00:00 2001 From: dab246 Date: Mon, 12 Jan 2026 11:03:07 +0700 Subject: [PATCH] TF-4136 Remove check sentry dio interceptors duplicated --- core/lib/utils/sentry/sentry_dio_helper.dart | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/core/lib/utils/sentry/sentry_dio_helper.dart b/core/lib/utils/sentry/sentry_dio_helper.dart index 06197c75c..de4528107 100644 --- a/core/lib/utils/sentry/sentry_dio_helper.dart +++ b/core/lib/utils/sentry/sentry_dio_helper.dart @@ -5,11 +5,6 @@ import 'package:sentry_dio/sentry_dio.dart'; class SentryDioHelper { static void addIfAvailable(Dio dio) { if (!SentryManager.instance.isSentryAvailable) return; - - final alreadyHasSentry = dio.interceptors.any( - (i) => i.runtimeType.toString().contains('FailedRequestInterceptor')); - if (!alreadyHasSentry) { - dio.addSentry(); - } + dio.addSentry(); } }