-
Notifications
You must be signed in to change notification settings - Fork 6
Error not propagated for unexpected response #4
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
Comments
ping @rexxars |
What is the ideal way you'd want to surface/handle errors like this? |
I would either throw the error right away and let the user handle it or add a special callback like Another approach would be to propagate such information to https://github.com/i-am-bee/bee-agent-framework/blob/main/src/internals/fetcher.ts#L74-L103 |
+1 |
Has anyone found a way to handle this? Is patching the source code the only way now? |
The library does not throw an error when the target server sends a JSON response instead of SSE.
It silently fails, and the node process exits with status code 13.
The text was updated successfully, but these errors were encountered: