-
-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_invokeWithStreamedResponse does not return any Data when throwing a httpError #637
Comments
My issue might be related as well - when calling |
Hi @cyrilzakka do you have an example edge functions for reproducing it? |
Sure! Here's a minimally reproducible example:
So the non-streaming errors show up as |
Bug report
Describe the bug
Understand that this function is marked experimental but creating an issue to track that when an httpError is thrown the
Data
object is always empty. I tried coming up with a fix here but it didn't seem to work. bbauman1@43d9f01Also, lesser important, but the completionHandler doesn't always get called which leads to an error in Xcode logs
To Reproduce
Call
_invokeWithStreamedResponse
and have it throw an errorExpected behavior
Data object is not empty
Screenshots
If applicable, add screenshots to help explain your problem.
System information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: