Closed bonetoy closed 3 years ago
Does
try {
final clientCall = rpcClient.streamFunc(rpcStreamController.stream);
await for (var response in clientCall){
...
}
} catch (e) {
}
not catch it?
Does
try { final clientCall = rpcClient.streamFunc(rpcStreamController.stream); await for (var response in clientCall){ ... } } catch (e) { }
not catch it?
yep, not catch it. but this working! Thank you for inspiring me. 😀
Futrue<void> callRpc() async {
....
}
....
callRpc().onError((e)=>...);
Client code:
I saw some grpc error in locat like this:
I can't find a suspicious place for me to throw or handle exceptions. 😂