Azure / Azure/fetch-event-source
handle basic request errors or update README with a demonstration
Open
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 196
- PR merge metrics
- No merged PRs in 30d
Description
an error is seen in the browser tools using the below call `TypeError: Error in body stream`
```javascript
await new fetchEventSource( `${endpointUrl}/path-does-not-exist`, {
onerror ( err ) {
console.log( 'error', err );
},
onclose ( ev ) {
console.log( 'close', ev );
}
});
```
How does one get error details, such as a response code 404, 401 or 400? Thank you :)
Contributor guide
Assessment
This issue has not been assessed yet.