Re-add some code that was removed during TFM churn
This commit is contained in:
parent
03bdb40f8a
commit
75ba58bac2
|
|
@ -207,7 +207,7 @@ namespace Microsoft.AspNetCore.Hosting.Internal
|
|||
|
||||
var model = new ErrorPageModel
|
||||
{
|
||||
RuntimeDisplayName = ".NET Core"
|
||||
RuntimeDisplayName = RuntimeInformation.FrameworkDescription
|
||||
};
|
||||
var systemRuntimeAssembly = typeof(System.ComponentModel.DefaultValueAttribute).GetTypeInfo().Assembly;
|
||||
var assemblyVersion = new AssemblyName(systemRuntimeAssembly.FullName).Version.ToString();
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ namespace Microsoft.AspNetCore.Server.IntegrationTesting
|
|||
}
|
||||
else
|
||||
{
|
||||
if (exception is HttpRequestException)
|
||||
if (exception is HttpRequestException || exception is WebException)
|
||||
{
|
||||
logger.LogWarning("Failed to complete the request : {0}.", exception.Message);
|
||||
await Task.Delay(1 * 1000); //Wait for a while before retry.
|
||||
|
|
|
|||
Loading…
Reference in New Issue