-
Notifications
You must be signed in to change notification settings - Fork 746
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
EOF logged as error while receiving eventstream in generic event source #3182
Comments
This issue has been automatically marked as stale because it has not had |
:bump: |
This issue has been automatically marked as stale because it has not had |
:bump: |
This issue has been automatically marked as stale because it has not had |
Describe the bug
The generic eventsource client logs an error when it receives and
io.EOF
on the stream. This is a valid response indicating that the stream has completed successfully and should not be logged as an error.To Reproduce
Steps to reproduce the behavior:
nil
for error indicating there's no error and the stream has finished.Expected behavior
No error logs when
io.EOF
is received because EOF on the Recv method indicates that the stream completed successfully.Screenshots
N/A
Environment (please complete the following information):
Additional context
Log
Stacktrace
Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
The text was updated successfully, but these errors were encountered: