Explorar o código

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

Source commit: 8a6d0946f79e6e30872b1c0c4b61ca4093834b3b
Martin Prikryl %!s(int64=4) %!d(string=hai) anos
pai
achega
05ca593a0e
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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");