Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Status.getStatus() issue #42

@mashegoindustries

Description

@mashegoindustries

Status.getStatus() seems to be returning -1 all the time

Even though the actual Eskom API is up and running.

Piece of code below is swallowing the exception. I was gonna do a PR but my Typescript is not so good
try {
const resp = await this.get('/GetStatus');
return resp.data;
} catch (e) {
return LoadsheddingStageRaw.UNKNOWN;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions