-
Notifications
You must be signed in to change notification settings - Fork 10k
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
[Templates] Diagnostics improvements and certificate fixes #21493
Conversation
javiercn
commented
May 5, 2020
- Move template specific helpers back to templates.
- Fix casing issue when loading the certificate.
- Capture startup output and throw when the app can't find the listening URL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As long as it works 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM though I have a couple of questions about hidden output / details
} | ||
|
||
throw new InvalidOperationException(@$"Couldn't find listening url: | ||
{string.Join(Environment.NewLine, buffer)}"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
return RequestWithRetries(client => client.GetAsync(new Uri(ListeningUri, path)), _httpClient); | ||
} | ||
internal Task<HttpResponseMessage> SendRequest(string path) => | ||
RetryHelper.RetryRequest(() => _httpClient.GetAsync(new Uri(ListeningUri, path)), logger: NullLogger.Instance); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another question about hiding details here…
2de1a55
to
a8a9593
Compare
Thanks @dougbu for baby sitting |