Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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