Skip to content

Request error details hidden to client #91

@fabricemathis

Description

@fabricemathis

Say we have an eventsource client connected to a server and receiving messages.

Il the server goes down, the onerror callback is invoked, which is fine, but the event that is passed only contains { type: 'error' }

Could it be possible to add more info to the event, like the original error code ('ECONNREFUSED' for instance) ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions