π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Skip reporting dio error to sentry
Neeraj Guptadeace2bccd95
diff --git a/mobile/lib/core/error-reporting/super_logging.dart b/mobile/lib/core/error-reporting/super_logging.dartindex cc9c3122c3..d1603ab20e 100644--- a/mobile/lib/core/error-reporting/super_logging.dart+++ b/mobile/lib/core/error-reporting/super_logging.dart@@ -5,6 +5,7 @@ import 'dart:collection';import 'dart:core';import 'dart:io';+import "package:dio/dio.dart";import 'package:flutter/foundation.dart';import 'package:flutter/widgets.dart';import 'package:http/http.dart' as http;@@ -230,6 +231,9 @@ class SuperLogging {StackTrace? stack,) async {try {+ if (error is DioError) {+ return;+ }await Sentry.captureException(error,stackTrace: stack,diff --git a/mobile/lib/services/user_service.dart b/mobile/lib/services/user_service.dartindex 4c20429b08..57ec665628 100644--- a/mobile/lib/services/user_service.dart+++ b/mobile/lib/services/user_service.dart@@ -205,7 +205,7 @@ class UserService {Future<Sessions> getActiveSessions() async {try {- final response = await _enteDio.get("/users/sessions");+ final response = await _enteDio.get("/users/sessionsx");return Sessions.fromMap(response.data);} on DioError catch (e) {_logger.info(e);