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

nancy:chore - remove logs when running without GITHUB_TOKEN env #922

Merged
merged 1 commit into from
Jan 10, 2022

Conversation

matheusalcantarazup
Copy link
Contributor

Previously for each analysis a warning log was being printed informing
an error of Github API rate limit from Nancy. This commit change this
behaviour to just log in debug level that Nancy was ignored because the
GITHUB_TOKEN env is not set.

Fixes #920

Signed-off-by: Matheus Alcantara matheus.alcantara@zup.com.br

- What I did

- How to verify it

- Description for the changelog

Previously for each analysis a warning log was being printed informing
an error of Github API rate limit from Nancy. This commit change this
behaviour to just log in debug level that Nancy was ignored because the
GITHUB_TOKEN env is not set.

Fixes #920

Signed-off-by: Matheus Alcantara <matheus.alcantara@zup.com.br>
@matheusalcantarazup matheusalcantarazup merged commit d0f5f52 into main Jan 10, 2022
@matheusalcantarazup matheusalcantarazup deleted the disable-nancy branch January 10, 2022 16:17
nathanmartinszup pushed a commit that referenced this pull request Jan 10, 2022
Previously for each analysis a warning log was being printed informing
an error of Github API rate limit from Nancy. This commit change this
behaviour to just log in debug level that Nancy was ignored because the
GITHUB_TOKEN env is not set.

Fixes #920

Signed-off-by: Matheus Alcantara <matheus.alcantara@zup.com.br>
(cherry picked from commit d0f5f52)
@wiliansilvazup wiliansilvazup linked an issue Jan 19, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nancy: Remove unnecessary logs when running without GITHUB_TOKEN env formatters/nancy: log correct errors
3 participants