Skip to content

Commit 05ede44

Browse files
authored
Improve error text
1 parent 7de1f05 commit 05ede44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tools/dotnet-dev-certs/src/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ private static int EnsureHttpsCertificate(CommandOption exportPath, CommandOptio
427427
return ErrorExportingTheCertificate;
428428
case EnsureCertificateResult.ErrorExportingTheCertificateToNonExistentDirectory:
429429
// A distinct warning is useful, but a distinct error code is probably not.
430-
reporter.Warn("There was an error exporting the HTTPS developer certificate to a file. Please create the target directory before exporting.");
430+
reporter.Warn("There was an error exporting the HTTPS developer certificate to a file. Please create the target directory before exporting. Choose permissions carefully when creating it.");
431431
return ErrorExportingTheCertificate;
432432
case EnsureCertificateResult.PartiallyFailedToTrustTheCertificate:
433433
// A distinct warning is useful, but a distinct error code is probably not.

0 commit comments

Comments
 (0)