Эх сурвалжийг харах

error message during find exclude to vault/error

Wolfgang Ortmann 9 жил өмнө
parent
commit
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;
           int rc;
           Strings excludedFiles = myPopen(excludeCommand, rc, debug);
           Strings excludedFiles = myPopen(excludeCommand, rc, debug);
           if (rc > 0)
           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)
           for (unsigned int i = 0; i < excludedFiles.size(); ++i)
             {
             {

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 340 - 334
src/kind.cpp


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно