Skip to content

Reevaluate use of catch { throw new Error... } in API calls. #315

@dsiguero

Description

@dsiguero

throw new Error(`Something went wrong about api/v1/login call. Error: ${JSON.stringify(error)}`);

throw new Error(`Something went wrong about api/v1/refresh call. Error: ${JSON.stringify(error)}`);

throw new Error(`Something went wrong about POST api/v1/demo-reminder call. Error: ${JSON.stringify(error)}`);

throw new Error(`Something went wrong about GET /api/v1/idp/user-calendars call. Error: ${JSON.stringify(error)}`);

throw new Error(`Something went wrong about GET api/v1/user-profile call. Error: ${JSON.stringify(error)}`);

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