Browse Source

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 years ago
parent
commit
21b358f3d0
1 changed files with 4 additions and 0 deletions
  1. 4 0
      source/core/Terminal.cpp

+ 4 - 0
source/core/Terminal.cpp

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