Skip to content

If url is wrong, function get_issues_open_state do not return any error message #122

Description

@ronnyhdez

If for example, we use this function with the wrong repo value in the argument, it will return an answer that does not clarify to the user that there was an error:

gitear::get_issues_open_state (base_url = "https://example.gitea.service.com",
                       api_key = "ccaf5c9a22e854856d0c5b1b96c81e851bafb288",
                       owner = "company",
                       repo = "test_repo")

It will return this:

data frame with 0 columns and 0 rows

This should return an error message saying that there is one wrong value in the arguments.

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

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions