瀏覽代碼

error message during find exclude to vault/error

Wolfgang Ortmann 9 年之前
父節點
當前提交
8105b9cba9
共有 2 個文件被更改,包括 345 次插入335 次删除
  1. 5 1
      src/kind.ag
  2. 340 334
      src/kind.cpp

+ 5 - 1
src/kind.ag

@@ -265,7 +265,11 @@ void doBackup(const string& vault,
           int rc;
           Strings excludedFiles = myPopen(excludeCommand, rc, debug);
           if (rc > 0)
-            throw Exception("Find exludes", "Search for excludes failed");
+            {
+              // return Strings should contain error messages
+              strings2File(excludedFiles, errorfile);
+              throw Exception("Find exludes", "Search for excludes failed");
+            }
 
           for (unsigned int i = 0; i < excludedFiles.size(); ++i)
             {

文件差異過大導致無法顯示
+ 340 - 334
src/kind.cpp


部分文件因文件數量過多而無法顯示