Commit aa9d69a
Klever
Upgrade connectivity_plus & Resolve error log
1. Upgrate: connectivity_plus: ^6.0.3 for graphql_flutter package.
2. Resolve: error is throwed from graphql package (althought it doesn't make any crash) when toggleConnection != null
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: ValueStream has no value. You should check ValueStream.hasValue before accessing ValueStream.value, or use ValueStream.valueOrNull instead.
#0 BehaviorSubject.value (package:rxdart/src/subjects/behavior_subject.dart:146:5)
#1 SocketClient._listenToToggleConnection.<anonymous closure> (package:graphql/src/links/websocket_link/websocket_client.dart:264:40)
#2 _RootZone.runUnaryGuarded (dart:async/zone.dart:1594:10)
#3 _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339:11)
#4 _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271:7)
#5 _MultiStreamController.addSync (dart:async/stream_impl.dart:1101:36)
#6 _MultiControllerSink.add (package:rxdart/src/utils/forwarding_stream.dart:130:35)
#7 _TakeUntilStreamSink.onData (package:rxdart/src/transformers/take_until.dart:13:31)1 parent c0621cc commit aa9d69a
File tree
2 files changed
+3
-2
lines changed- packages
- graphql_flutter
- graphql/lib/src/links/websocket_link
2 files changed
+3
-2
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
| 218 | + | |
| 219 | + | |
219 | 220 | | |
220 | 221 | | |
221 | 222 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments