mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix Error Message for empty response
This commit is contained in:
parent
793b432d61
commit
f6e6cd5a42
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ namespace Flow.Launcher.Core.Plugin
|
|||
switch (sourceBuffer.Length, errorBuffer.Length)
|
||||
{
|
||||
case (0, 0):
|
||||
var errorMessage = Encoding.UTF8.GetString(errorBuffer.GetBuffer(), 0, (int)errorBuffer.Position);
|
||||
const string errorMessage = "Empty JSON-RPC Response.";
|
||||
Log.Warn($"|{nameof(JsonRPCPlugin)}.{nameof(ExecuteAsync)}|{errorMessage}");
|
||||
break;
|
||||
case (_, not 0):
|
||||
|
|
|
|||
Loading…
Reference in a new issue