From 4003417f7b94648a7726995a49ab56c4bc8aad55 Mon Sep 17 00:00:00 2001 From: unwox Date: Fri, 23 Aug 2024 14:02:10 +0600 Subject: small fixes --- worker.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'worker.go') diff --git a/worker.go b/worker.go index 5d6eeb1..f86906f 100644 --- a/worker.go +++ b/worker.go @@ -109,7 +109,7 @@ func (w *Worker) Listen(queue chan any) { Headers: make(map[string]string), Body: "server error", } - log.Println("could not read a request body") + log.Println("could not read a request body:", err) return } w.lua.PushString(string(body)) @@ -122,7 +122,7 @@ func (w *Worker) Listen(queue chan any) { Headers: make(map[string]string), Body: "server error", } - log.Println("could not read a request body") + log.Println("could not read a request body:", err) return } -- cgit v1.2.3