Why do I get an Uncaught Exception when using a stream provider? #3717
Unanswered
eladm-ultrawis
asked this question in
Q&A
Replies: 1 comment
-
Hi,
Yes, it should! This could be a bug. Perhaps you can fill an issue with a reproducible example. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a provider that is listening to a broadcast stream (originating from a grpc stream)
when certain data changes, the stream is cancelled. hence the
await for
loop throws an exception.This makes sense and is what I expect. However, when debugging this with vscode, it seems that this exception is considered "Uncaught Exception". I would expect the StreamProvider mechanism to catch this exception and report this via the AsyncValue mechanism.
my questions:
Beta Was this translation helpful? Give feedback.
All reactions