Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.
This repository was archived by the owner on May 30, 2024. It is now read-only.

How are errors handled? #7

@rosskukulinski

Description

@rosskukulinski

I would expect the callback function passed to ld_client.get_flag() would follow the standard nodejs (err, data...) pattern. Skimming the code, it looks like on HTTP error you simply use the default value. That won't tell me if your service is having issues or if I've supplied invalid credentials.

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