Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

Commit

Permalink
Make contentRootPath error give failed path
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanbrandenburg committed Apr 15, 2016
1 parent eb8c0a2 commit 6a57ec1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static void Initialize(this IHostingEnvironment hostingEnvironment, strin
}
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;
Expand Down

0 comments on commit 6a57ec1

Please sign in to comment.