Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ronnyhdez opened this issue Nov 9, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@ronnyhdez
Copy link
Member

ronnyhdez commented Nov 9, 2021

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.

@ronnyhdez ronnyhdez added the bug Something isn't working label Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant