Skip to content

[segmentio] Pull Request #4: Emit errors when the request fails #271

Open
@SegmentDestinationsBot

Description

@SegmentDestinationsBot

Migrated from #4 by @gnandretta

I believe @cristiandouce has been talking with your support team about the details of the issues we are experiencing, but we need a mechanism to detect when a request to segment (via analytics.js) fails. The callbacks that can be provided to methods like track, page, identify and so on, don't yield any information about the status of the request.

One solution we came up with is to emit errors when the request fails and it is implemented in this pull request. Unfortunately, in order for this to actually work, yields/send-json needs to be updated. A pull request has already been sent. .

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