Skip to content

Better error message when the app isn't installed to the repo #69

Description

@CatChen

The error message Error: Cannot read properties of undefined (reading 'id') isn't very descriptive. I looked into this action's source code and realized that the app wasn't properly installed to the repo so this line throws:

let installationId = installations.data[0].id;

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