From e9ffc2cbe1e5d4f38e7543dbc31408cdec12a49a Mon Sep 17 00:00:00 2001 From: Kenneth Hsu Date: Mon, 25 Sep 2017 19:52:49 -0700 Subject: [PATCH] Add clearer exception message. --- Duplicati/Library/Main/Database/PathLookupHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Duplicati/Library/Main/Database/PathLookupHelper.cs b/Duplicati/Library/Main/Database/PathLookupHelper.cs index 39d093b71..58877ba2c 100644 --- a/Duplicati/Library/Main/Database/PathLookupHelper.cs +++ b/Duplicati/Library/Main/Database/PathLookupHelper.cs @@ -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) {