fix the exception message

main
Paul Schneider 9 years ago
parent 232097f1d4
commit ad238a878f
1 changed files with 1 additions and 1 deletions

@ -22,7 +22,7 @@ namespace Yavsc.ViewModels.UserFiles
var finalPath = (path==null) ? username : username + Path.DirectorySeparatorChar + path;
if ( !finalPath.IsValidPath() )
throw new InvalidOperationException(
$"File name contains invalid chars, using path {SubPath}");
$"File name contains invalid chars, using path {finalPath}");
dInfo = new DirectoryInfo(
Path.Combine(Startup.UserFilesDirName,finalPath));

Loading…