fix: some bugs

This commit is contained in:
hiddify-com
2024-08-05 02:07:07 +02:00
parent 12290dc4e3
commit 39ae86a538
4 changed files with 20 additions and 39 deletions

View File

@@ -48,8 +48,8 @@ class IpInfoNotifier extends _$IpInfoNotifier with AppLogger {
final info = await ref.watch(proxyRepositoryProvider).getCurrentIpInfo(cancelToken).getOrElse(
(err) {
loggy.warning("error getting proxy ip info", err, StackTrace.current);
throw err; //hiddify: remove exception to be logged
//throw const UnknownIp();
// throw err; //hiddify: remove exception to be logged
throw const UnknownIp();
},
).run();