diff --git a/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs b/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs index 0f32137f1..7003804b8 100644 --- a/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs +++ b/Flow.Launcher.Core/Plugin/JsonRPCPlugin.cs @@ -277,7 +277,7 @@ namespace Flow.Launcher.Core.Plugin return Stream.Null; } - switch (sourceBuffer.Length, errorBuffer.Position) + switch (sourceBuffer.Length, errorBuffer.Length) { case (0, 0): var errorMessage = Encoding.UTF8.GetString(errorBuffer.GetBuffer(), 0, (int)errorBuffer.Position);