fix the exception message
This commit is contained in:
parent
3acb5bc922
commit
12c495fbf8
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…
Add table
Add a link
Reference in a new issue