From 6d4897bc1c627bd3890ce5bc04306d826df44c88 Mon Sep 17 00:00:00 2001 From: E1int <110526002+E1int@users.noreply.github.com> Date: Sat, 9 Aug 2025 23:42:19 +0200 Subject: [PATCH] Maintain old ping behavior --- backend/ipc/client.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/ipc/client.go b/backend/ipc/client.go index 88c703d..3b91ad6 100644 --- a/backend/ipc/client.go +++ b/backend/ipc/client.go @@ -30,8 +30,10 @@ func Connect() (*Client, error) { } func (c *Client) Ping() error { - _, err := c.sendRequest(PingPath) - return err + if _, err := c.sendRequest(PingPath); err != nil { + return ErrPingFail + } + return nil } func (c *Client) Play() error {