From dbdc717a16c26f7e42a340f5caf78e8ee19305f3 Mon Sep 17 00:00:00 2001 From: stuart Date: Wed, 15 May 2024 17:50:46 +0200 Subject: [PATCH] remove error on heartbeat and greetserver --- be1-go/internal/popserver/handler/query.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be1-go/internal/popserver/handler/query.go b/be1-go/internal/popserver/handler/query.go index dd18c27e72..dbe9635ca5 100644 --- a/be1-go/internal/popserver/handler/query.go +++ b/be1-go/internal/popserver/handler/query.go @@ -44,7 +44,7 @@ func handleQuery(socket socket.Socket, msg []byte) *answer.Error { errAnswer = answer.NewInvalidResourceError("unexpected method: '%s'", queryBase.Method) } - if errAnswer != nil { + if errAnswer != nil && queryBase.Method != query.MethodGreetServer && queryBase.Method != query.MethodHeartbeat { errAnswer = errAnswer.Wrap("handleQuery") socket.SendError(id, errAnswer) return errAnswer