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 {