Make contentRootPath error give failed path

This commit is contained in:
Ryan Brandenburg 2016-04-15 14:47:22 -07:00
parent 26e6036187
commit 6fd469e748
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ namespace Microsoft.AspNetCore.Hosting.Internal
}
if (!Directory.Exists(contentRootPath))
{
throw new ArgumentException("The provided content root does not exist.", nameof(contentRootPath));
throw new ArgumentException($"The content root '{contentRootPath}' does not exist.", nameof(contentRootPath));
}
hostingEnvironment.ApplicationName = applicationName;