summaryrefslogtreecommitdiff
path: root/worker.go
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2024-08-23 14:02:10 +0600
committerunwox <me@unwox.com>2024-08-23 14:02:10 +0600
commit4003417f7b94648a7726995a49ab56c4bc8aad55 (patch)
tree95fc8353e83963664c9124a2985823d7b7e13c6a /worker.go
parent37229ea3864bcdc77b2341ff12ebc55e5098718e (diff)
small fixes
Diffstat (limited to 'worker.go')
-rw-r--r--worker.go4
1 files changed, 2 insertions, 2 deletions
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
}