From 132b85c1b4ea4f0f8f065dbc5987033c53ee8872 Mon Sep 17 00:00:00 2001 From: Hiddify Date: Mon, 29 Jan 2024 22:29:06 +0100 Subject: [PATCH] fix: bug in logging go erros --- lib/features/connection/notifier/connection_notifier.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/features/connection/notifier/connection_notifier.dart b/lib/features/connection/notifier/connection_notifier.dart index 18d18e35..44c417e6 100644 --- a/lib/features/connection/notifier/connection_notifier.dart +++ b/lib/features/connection/notifier/connection_notifier.dart @@ -110,6 +110,7 @@ class ConnectionNotifier extends _$ConnectionNotifier with AppLogger { ) .mapLeft((err) async { loggy.warning("error connecting", err); + loggy.warning(err);//Go err is not normal object to see the go errors are string and need to be dumped await ref.read(startedByUserProvider.notifier).update(false); state = AsyncError(err, StackTrace.current); }).run();