Przeglądaj źródła

Do not log "Session is open, will not retry transfer" when the file was skipped

(cherry picked from commit 05ca593a0e460062a2c99413b056f76081fb0561)

Source commit: 5a683ab890ec5e3900c868892cab3c92c8f47b5d
Martin Prikryl 4 lat temu
rodzic
commit
21b358f3d0
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      source/core/Terminal.cpp

+ 4 - 0
source/core/Terminal.cpp

@@ -443,6 +443,10 @@ bool TRobustOperationLoop::TryReopen(Exception & E)
   {
   {
     FRetry = false;
     FRetry = false;
   }
   }
+  else if (dynamic_cast<ESkipFile *>(&E) != NULL)
+  {
+    FRetry = false;
+  }
   else if (FTerminal->Active)
   else if (FTerminal->Active)
   {
   {
     FTerminal->LogEvent(1, L"Session is open, will not retry transfer");
     FTerminal->LogEvent(1, L"Session is open, will not retry transfer");