We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c16b1b commit 5f17b3bCopy full SHA for 5f17b3b
sse-decoder.go
@@ -111,5 +111,5 @@ func (d *decoder) decode(r io.Reader) ([]Event, error) {
111
// Once the end of the file is reached, the user agent must dispatch the event one final time.
112
d.dispatchEvent(currentEvent, dataBuffer.String())
113
114
- return d.events, nil
+ return d.events, s.Err()
115
}
0 commit comments