Skip to content

When there are no data.rows.dimensions array in the response I get UnhandledPromiseRejectionWarning #15

@sjovanovic

Description

@sjovanovic

In cases when raw response is missing data.rows.dimensions array the library errors out with:

UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot read property 'map' of undefined

...and that error cannot be caught with Promise.catch.

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