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

Better errors and instructions #254

Merged
merged 1 commit into from
Aug 18, 2023

Conversation

BillWagner
Copy link
Member

Incorporate feedback from Tyler's experience onboarding the cpp docs.

There were some typos and outdated instructions in the README. Those are addressed.

One other repeated problem is that the response from GH when there's any auth issues is (understandably) vague. Furthermore, it's valid JSON, so the code tries to parse it, fails, and reports "Key not found" errors without any context. So, wrap the config reading section in a new try catch block to report likely auth errors.

Incorporate feedback from Tyler's experience onboarding the cpp docs.

There were some typos and outdated instructions in the README. Those are addressed.

One other repeated problem is that the response from GH when there's any auth issues is (understandably) vague. Furthermore, it's valid JSON, so the code tries to parse it, fails, and reports "Key not found" errors without any context. So, wrap the config reading section in a new `try` `catch` block to report likely auth errors.
@BillWagner
Copy link
Member Author

cc @TylerMSFT @TerryGLee as FYI

@BillWagner BillWagner merged commit 2ac9f2d into dotnet:main Aug 18, 2023
9 checks passed
@BillWagner BillWagner deleted the readme-and-diagnostics branch August 18, 2023 20:03
BillWagner added a commit to BillWagner/docs-tools that referenced this pull request Aug 18, 2023
PR dotnet#254 was merged before updating based on reviews. Adding those changes in a separate PR.
BillWagner added a commit to BillWagner/docs-tools that referenced this pull request Aug 18, 2023
PR dotnet#254 was merged before updating based on reviews. Adding those changes in a separate PR.
BillWagner added a commit that referenced this pull request Aug 18, 2023
PR #254 was merged before updating based on reviews. Adding those changes in a separate PR.
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.

3 participants