-
Notifications
You must be signed in to change notification settings - Fork 45
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
SSE and Server Errors #36
Comments
@Euen keep an eye on this one :) |
@elbrujohalcon I'm not sure what return value this describes:
|
@jfacorro try to get the events from an endpoint that returns 401 and you'll see |
@elbrujohalcon I meant I'm not sure the desired return value this describes:
|
@jfacorro maybe besides the reference you get when you start such a request… you can also get the headers, status code, etc. |
When an SSE endpoint returns an error (e.g. status code
500
), it gets listed as an event onshotgun:events
.As an example, consider this code from fiar:
That prints out…
It should either throw an exception instead, or
shotgun:events
should return a response description element (with the headers, status, etc.) besides the list of events.The text was updated successfully, but these errors were encountered: