Add clearer exception message.
This commit is contained in:
@@ -165,7 +165,7 @@ namespace Duplicati.Library.Main.Database
|
||||
public bool TryGetChild(string name, out FolderEntry v)
|
||||
{
|
||||
if (string.IsNullOrEmpty(name))
|
||||
throw new ArgumentException("name");
|
||||
throw new ArgumentException("Invalid pathname.", "name");
|
||||
|
||||
if (m_folders == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user