Skip to content

Rate limit not notified #5

@seblaz

Description

@seblaz

When the rate limit is reached, the user isn't notified. Instead the following error ocurrs:
TypeError: Cannot read property 'toLowerCase' of undefined
at (...)/node_modules/github-metadata/index.js:202:43
at process.internalTickCallback (internal/process/next_tick.js:77:7)

This happens because the data retrieved doesn't contain the repository.name property. I think it'll be better to let the user know why this error is happening.

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