diff --git a/AutoTx/AutoTx.cs b/AutoTx/AutoTx.cs index 313ae528c956cef50b7791c54e6f6de919f69759..48738c72e0642c58231d3c0d2e036c0a917d4252 100644 --- a/AutoTx/AutoTx.cs +++ b/AutoTx/AutoTx.cs @@ -847,8 +847,10 @@ namespace AutoTx try { // make sure the target directory that should hold all subdirectories to // be moved is existing: - if (string.IsNullOrEmpty(CreateNewDirectory(destPath, false))) + if (string.IsNullOrEmpty(CreateNewDirectory(destPath, false))) { + writeLog("WARNING: destination path doesn't exist: " + destPath); return false; + } foreach (var subDir in sourceDir.GetDirectories()) { var target = Path.Combine(destPath, subDir.Name); diff --git a/AutoTx/XmlWrapper/ServiceConfig.cs b/AutoTx/XmlWrapper/ServiceConfig.cs index 087f4693db70be1651766190ceca4a04e24e3900..a160e7f421b336cdfd1e9a17027c65f1bf7ad198 100644 --- a/AutoTx/XmlWrapper/ServiceConfig.cs +++ b/AutoTx/XmlWrapper/ServiceConfig.cs @@ -90,7 +90,7 @@ namespace AutoTx.XmlWrapper public static void Serialize(string file, ServiceConfig c) { // the config is never meant to be written by us, therefore: - throw new SettingsPropertyIsReadOnlyException("The config file should not be written by the service!"); + throw new SettingsPropertyIsReadOnlyException("The config file must not be written by the service!"); } public static ServiceConfig Deserialize(string file) {