fix: bug in logging go erros

This commit is contained in:
Hiddify
2024-01-29 22:29:06 +01:00
parent bfe74168dc
commit 132b85c1b4

View File

@@ -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();