فهرست منبع

Actually throw the exception (though it has little impact, as it is swallowed later)

(cherry picked from commit a90af92a581b791d7ad0dfa2a822850cde9057f6)

Source commit: 2b484c63a4e396b0a0da00bc047dfa913145ef3b
Martin Prikryl 5 سال پیش
والد
کامیت
af9bccd226
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      dotnet/internal/ExeSessionProcess.cs

+ 1 - 1
dotnet/internal/ExeSessionProcess.cs

@@ -470,7 +470,7 @@ namespace WinSCP
                 if (!e.UseStdErr ||
                     (e.BinaryOutput != ConsoleInitEventStruct.StdInOut.Binary))
                 {
-                    _logger.WriteException(new InvalidOperationException("Unexpected console interface options"));
+                    throw _logger.WriteException(new InvalidOperationException("Unexpected console interface options"));
                 }
 
                 e.InputType = 3; // pipe