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

add github token documentation url to initiliaze method exception in … #269

Merged

Conversation

Se-C12
Copy link
Collaborator

@Se-C12 Se-C12 commented Oct 11, 2022

  • documentation link added to initialize method exception in GithubProducer class
  • imports corrected in ViewUpdater class

if(token==null || token.isBlank()) {
throw new GitHubHandlerException(String.format("Can't connect to GitHub if token %s isn't defined as system property", Constants.CONFIG_GITHUB_TOKEN));
URL githubTokenDoc = new URL("https://github.com/Riduidel/aadarchi/wiki/How-to-add-aadarchi.github.token%3F");
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Un objet URL est utile quand on veut faire du flux dessus. Là ça n'est pas le cas, donc pas la peine de créer l'objet

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changement effectué. L'url est directement intégré dans le message de l'exception.

Copy link
Owner

@Riduidel Riduidel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changer le chargement de l'url, et ce sera bon

@Riduidel Riduidel merged commit b72e4f4 into master Oct 12, 2022
@delete-merged-branch delete-merged-branch bot deleted the bugFixes/267_clarify_error_related_to_aadarchi.github.token branch October 12, 2022 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants